audioDisableOverrideSpeakerOnReceiver property Null safety

bool? audioDisableOverrideSpeakerOnReceiver
final

If the system switches to earpieces, switching to the speaker is disabled. The option is valid only on iOS. The default value is false. If the value is set to true, the SDK is not allowed to switch to the speaker when the system switches to earpieces. Users needs to handle the earpieces switching event.

Implementation

final bool? audioDisableOverrideSpeakerOnReceiver;