ACSMediaDiagnosticsDelegate Protocol
Declaration
@protocol ACSMediaDiagnosticsDelegate;
Description
A set of methods that are called by ACSMediaDiagnostics in response to important events.
Methods
onIsSpeakerNotFunctioningChanged
Speaker is not functioning (failed to initialized the audio device client or device became inactive for more than 5 seconds).
-(void)onIsSpeakerNotFunctioningChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsSpeakerBusyChanged
Speaker is already in use. Either the device is being used in exclusive mode, or the device is being used in shared mode and the caller asked to use the device in exclusive mode.
-(void)onIsSpeakerBusyChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsSpeakerMutedChanged
Speaker is muted.
-(void)onIsSpeakerMutedChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsSpeakerVolumeZeroChanged
Zero volume on a speaker.
-(void)onIsSpeakerVolumeZeroChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsNoSpeakerDevicesAvailableChanged
There is no audio speaker device on the user's system.
-(void)onIsNoSpeakerDevicesAvailableChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsSpeakingWhileMicrophoneIsMutedChanged
Speaking while being on mute.
-(void)onIsSpeakingWhileMicrophoneIsMutedChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsNoMicrophoneDevicesAvailableChanged
No audio microphone devices on the user's system.
-(void)onIsNoMicrophoneDevicesAvailableChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsMicrophoneBusyChanged
Microphone is already in use. Either the device is being used in exclusive mode, or the device is being used in shared mode and the caller asked to use the device in exclusive mode.
-(void)onIsMicrophoneBusyChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsCameraFrozenChanged
Camera stops producing frames for more than 5 seconds.
-(void)onIsCameraFrozenChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsCameraStartFailedChanged
Generic camera failure.
-(void)onIsCameraStartFailedChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsCameraStartTimedOutChanged
Common scenario where camera is in bad state.
-(void)onIsCameraStartTimedOutChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsMicrophoneNotFunctioningChanged
Microphone is not functioning.
-(void)onIsMicrophoneNotFunctioningChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsMicrophoneMutedUnexpectedlyChanged
Microphone enters muted state unexpectedly.
-(void)onIsMicrophoneMutedUnexpectedlyChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-
onIsCameraPermissionDeniedChanged
Camera permissions were denied in settings.
-(void)onIsCameraPermissionDeniedChanged:(ACSMediaDiagnostics *)sender :(ACSDiagnosticFlagChangedEventArgs *)args {
Parameters
sender
-args
-