BluetoothHealth.ConnectedDevices 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.
Get connected devices for the health profile.
public System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>? ConnectedDevices { [Android.Runtime.Register("getConnectedDevices", "()Ljava/util/List;", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getConnectedDevices", "()Ljava/util/List;", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ConnectedDevices : System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>
Property Value
List of devices. The list will be empty on error.
Implements
- Attributes
Remarks
Get connected devices for the health profile.
Return the set of devices which are in state #STATE_CONNECTED
This is not specific to any application configuration but represents the connection state of the local Bluetooth adapter for this profile. This can be used by applications like status bar which would just like to know the state of the local adapter.
Java documentation for android.bluetooth.BluetoothHealth.getConnectedDevices()
.
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.