AudioManager.BluetoothA2dpOn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Checks whether a Bluetooth A2DP audio peripheral is connected or not. -or- This member is deprecated.
public virtual bool BluetoothA2dpOn { [Android.Runtime.Register("isBluetoothA2dpOn", "()Z", "GetIsBluetoothA2dpOnHandler")] get; [Android.Runtime.Register("setBluetoothA2dpOn", "(Z)V", "GetSetBluetoothA2dpOn_ZHandler")] [System.Obsolete("deprecated")] set; }
[<get: Android.Runtime.Register("isBluetoothA2dpOn", "()Z", "GetIsBluetoothA2dpOnHandler")>]
[<set: Android.Runtime.Register("setBluetoothA2dpOn", "(Z)V", "GetSetBluetoothA2dpOn_ZHandler")>]
[<set: System.Obsolete("deprecated")>]
member this.BluetoothA2dpOn : bool with get, set
Property Value
true if a Bluetooth A2DP peripheral is connected false if otherwise
- Attributes
Remarks
Property getter documentation:
Checks whether a Bluetooth A2DP audio peripheral is connected or not.
This member is deprecated. Use AudioManager#getDevices(int)
instead to list available audio devices.
Java documentation for android.media.AudioManager.isBluetoothA2dpOn()
.
Property setter documentation:
This member is deprecated. Use MediaRouter#selectRoute
instead.
Java documentation for android.media.AudioManager.setBluetoothA2dpOn(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.