communication property

AndroidAudioConfiguration communication
final

A pre-configured AndroidAudioConfiguration for voice communication.

Implementation

static final communication = AndroidAudioConfiguration(
  manageAudioFocus: true,
  androidAudioMode: AndroidAudioMode.inCommunication,
  androidAudioFocusMode: AndroidAudioFocusMode.gain,
  androidAudioStreamType: AndroidAudioStreamType.voiceCall,
  androidAudioAttributesUsageType:
      AndroidAudioAttributesUsageType.voiceCommunication,
  androidAudioAttributesContentType: AndroidAudioAttributesContentType.speech,
);