BluetoothGatt.WriteDescriptor メソッド

定義

オーバーロード

WriteDescriptor(BluetoothGattDescriptor)
古い.

特定の記述子の値を、関連付けられているリモート デバイスに書き込みます。

WriteDescriptor(BluetoothGattDescriptor, Byte[])

WriteDescriptor(BluetoothGattDescriptor)

注意事項

deprecated

特定の記述子の値を、関連付けられているリモート デバイスに書き込みます。

[Android.Runtime.Register("writeDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
[System.Obsolete("deprecated")]
public bool WriteDescriptor (Android.Bluetooth.BluetoothGattDescriptor? descriptor);
[<Android.Runtime.Register("writeDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
[<System.Obsolete("deprecated")>]
member this.WriteDescriptor : Android.Bluetooth.BluetoothGattDescriptor -> bool

パラメーター

descriptor
BluetoothGattDescriptor

関連付けられているリモート デバイスに書き込む記述子

戻り値

書き込み操作が正常に開始された場合は true

属性

注釈

の Java ドキュメント android.bluetooth.BluetoothGatt.writeDescriptor(android.bluetooth.BluetoothGattDescriptor)

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

適用対象

WriteDescriptor(BluetoothGattDescriptor, Byte[])

[Android.Runtime.Register("writeDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;[B)I", "", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public int WriteDescriptor (Android.Bluetooth.BluetoothGattDescriptor descriptor, byte[] value);
[<Android.Runtime.Register("writeDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;[B)I", "", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.WriteDescriptor : Android.Bluetooth.BluetoothGattDescriptor * byte[] -> int

パラメーター

value
Byte[]

戻り値

属性

適用対象