media property

A pre-configured AndroidAudioConfiguration for media playback.

Implementation

static final media = AndroidAudioConfiguration(
  manageAudioFocus: true,
  androidAudioMode: AndroidAudioMode.normal,
  androidAudioFocusMode: AndroidAudioFocusMode.gain,
  androidAudioStreamType: AndroidAudioStreamType.music,
  androidAudioAttributesUsageType: AndroidAudioAttributesUsageType.media,
  androidAudioAttributesContentType:
      AndroidAudioAttributesContentType.unknown,
);