Class AudioController.AudioRoutingConfig

  • Enclosing interface:
    AudioController

    public static class AudioController.AudioRoutingConfig
    extends java.lang.Object
    Automatic routing configuration data.
    • Constructor Detail

      • AudioRoutingConfig

        public AudioRoutingConfig​(AudioController.UseSpeakerphone useSpeakerphoneState,
                                  boolean manageBluetoothAudio)
        Creates automatic routing configuration object.
        Parameters:
        useSpeakerphoneState - can be set to AudioController.UseSpeakerphone AUTO, TRUE or FALSE. AUTO mode uses proximity sensor to operate.
        manageBluetoothAudio - if set to true, allows to automatically reroute audio to Bluetooth headset when available. Fires MissingPermissionException if android.Manifest.permission.BLUETOOTH is not granted.
    • Method Detail

      • isBluetoothAudioManaged

        public boolean isBluetoothAudioManaged()