Language

BluetoothGattServer.CancelConnection(BluetoothDevice) メソッド

定義

確立された接続を切断するか、現在進行中の接続試行を取り消します。

[Android.Runtime.Register("cancelConnection", "(Landroid/bluetooth/BluetoothDevice;)V", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public void CancelConnection(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("cancelConnection", "(Landroid/bluetooth/BluetoothDevice;)V", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.CancelConnection : Android.Bluetooth.BluetoothDevice -> unit

パラメーター

device
BluetoothDevice

リモート デバイス

属性

注釈

確立された接続を切断するか、現在進行中の接続試行を取り消します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象