AudioManager.BluetoothScoOn Property

Definition

Checks whether communications use Bluetooth SCO. -or- Request use of Bluetooth SCO headset for communications.

public virtual bool BluetoothScoOn { [Android.Runtime.Register("isBluetoothScoOn", "()Z", "GetIsBluetoothScoOnHandler")] get; [Android.Runtime.Register("setBluetoothScoOn", "(Z)V", "GetSetBluetoothScoOn_ZHandler")] set; }
[<get: Android.Runtime.Register("isBluetoothScoOn", "()Z", "GetIsBluetoothScoOnHandler")>]
[<set: Android.Runtime.Register("setBluetoothScoOn", "(Z)V", "GetSetBluetoothScoOn_ZHandler")>]
member this.BluetoothScoOn : bool with get, set

Property Value

true if SCO is used for communications; false if otherwise

Attributes

Remarks

Property getter documentation:

Checks whether communications use Bluetooth SCO.

This member is deprecated. Use AudioManager#getCommunicationDevice() instead.

Java documentation for android.media.AudioManager.isBluetoothScoOn().

Property setter documentation:

Request use of Bluetooth SCO headset for communications.

This method should only be used by applications that replace the platform-wide management of audio settings or the main telephony application.

Java documentation for android.media.AudioManager.setBluetoothScoOn(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to