SDLStreamingAudioManagerType Protocol Reference

Section Contents

Overview

Streaming audio manager

audioConnected

Whether or not the audio byte stream is currently connected

Objective-C

@property (nonatomic, assign, unsafe_unretained, readonly,
          getter=isAudioConnected) BOOL audioConnected;

Swift

var isAudioConnected: Bool { get }

-sendAudioData:

Send audio data bytes over the audio byte stream

Objective-C

- (BOOL)sendAudioData:(NSData *)audioData;

Swift

func sendAudioData(_ audioData: Data!) -> Bool

Parameters

audioData

The PCM data bytes

Return Value

Whether or not it sent successfully