BluetoothManager.GetConnectedDevices(ProfileType) Method

Definition

Get connected devices for the specified profile.

[Android.Runtime.Register("getConnectedDevices", "(I)Ljava/util/List;", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH")]
public System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice> GetConnectedDevices (Android.Bluetooth.ProfileType profile);
member this.GetConnectedDevices : Android.Bluetooth.ProfileType -> System.Collections.Generic.IList<Android.Bluetooth.BluetoothDevice>

Parameters

profile
ProfileType

GATT or GATT_SERVER

Returns

IList<BluetoothDevice>
Attributes

Remarks

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