Compartir a través de


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

Documentación de Java 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 proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a