SINAudioControllerDelegate
Objective-C
@protocol SINAudioControllerDelegate <NSObject>
Swift
protocol SINAudioControllerDelegate : NSObjectProtocol
The delegate of a SINAudioController object must adopt the SINAudioControllerDelegate protocol. The methods handle audio related state changes.
-
Notifies the delegate that the microphone was muted.
Declaration
Objective-C
- (void)audioControllerMuted:(id<SINAudioController>)audioController;
Swift
optional func audioControllerMuted(_ audioController: SINAudioController!)
Parameters
audioController
The audio controller associated with this delegate.
-
Notifies the delegate that the microphone was unmuted.
Declaration
Objective-C
- (void)audioControllerUnmuted:(id<SINAudioController>)audioController;
Swift
optional func audioControllerUnmuted(_ audioController: SINAudioController!)
Parameters
audioController
The audio controller associated with this delegate.
-
Notifies the delegate that the speaker was enabled.
Declaration
Objective-C
- (void)audioControllerSpeakerEnabled:(id<SINAudioController>)audioController;
Swift
optional func audioControllerSpeakerEnabled(_ audioController: SINAudioController!)
Parameters
audioController
The audio controller associated with this delegate.
-
Notifies the delegate that the speaker was disabled.
Declaration
Objective-C
- (void)audioControllerSpeakerDisabled:(id<SINAudioController>)audioController;
Swift
optional func audioControllerSpeakerDisabled(_ audioController: SINAudioController!)
Parameters
audioController
The audio controller associated with this delegate.