BluetoothGattServer.GetConnectionState(BluetoothDevice) Método

Definición

No compatible: use BluetoothManager#getConnectedDevices(int) con BluetoothProfile#GATT como argumento

[Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")]
public Android.Bluetooth.ProfileState GetConnectionState(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("getConnectionState", "(Landroid/bluetooth/BluetoothDevice;)I", "")>]
abstract member GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState
override this.GetConnectionState : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.ProfileState

Parámetros

device
BluetoothDevice

Dispositivo Bluetooth remoto.

Devoluciones

Implementaciones

Atributos

Excepciones

Comentarios

No compatible: use BluetoothManager#getConnectedDevices(int) con BluetoothProfile#GATT como argumento

Java documentación para android.bluetooth.BluetoothGattServer.getConnectionState(android.bluetooth.BluetoothDevice).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a