Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLStreamingAudioManagerType

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

View on GitHub.com
Previous Section Next Section