SinchAudioControllerDelegate
public protocol SinchAudioControllerDelegate : AnyObject
The delegate of a SinchAudioController object must adopt the SinchAudioControllerDelegate protocol. The methods handle audio related state changes.
-
Notifies the delegate that the microphone was muted. This method is invoked on the queue specified via
SinchRTC.setCallbackQueue(), which defaults to the main queue.See also
Declaration
Swift
func audioControllerMuted(_ audioController: SinchAudioController)Parameters
audioControllerThe audio controller associated with this delegate.
-
Notifies the delegate that the microphone was unmuted. This method is invoked on the queue specified via
SinchRTC.setCallbackQueue(), which defaults to the main queue.See also
Declaration
Swift
func audioControllerUnmuted(_ audioController: SinchAudioController) -
Notifies the delegate that the speaker was enabled. This method is invoked on the queue specified via
SinchRTC.setCallbackQueue(), which defaults to the main queue.See also
Declaration
Swift
func audioControllerSpeakerEnabled(_ audioController: SinchAudioController) -
Notifies the delegate that the speaker was disabled. This method is invoked on the queue specified via
SinchRTC.setCallbackQueue(), which defaults to the main queue.See also
Declaration
Swift
func audioControllerSpeakerDisabled(_ audioController: SinchAudioController)