BluetoothGatt.WriteDescriptor メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
- 属性
注釈
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
適用対象
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
パラメーター
- descriptor
- BluetoothGattDescriptor
- value
- Byte[]
戻り値
- 属性