BluetoothGattCallback.OnCharacteristicRead メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, GattStatus) |
特性読み取り操作の結果を報告するコールバック。 |
| OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, Byte[], GattStatus) |
特性読み取り操作の結果を報告するコールバック。 |
OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, GattStatus)
特性読み取り操作の結果を報告するコールバック。
[Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_IHandler")]
public virtual void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattCharacteristic? characteristic, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_IHandler")>]
abstract member OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * Android.Bluetooth.GattStatus -> unit
override this.OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * Android.Bluetooth.GattStatus -> unit
パラメーター
- gatt
- BluetoothGatt
GATT クライアントが呼び出されました BluetoothGatt#readCharacteristic(BluetoothGattCharacteristic)
- characteristic
- BluetoothGattCharacteristic
関連付けられているリモート デバイスから読み取られた特性。
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS 読み取り操作が正常に完了した場合。
- 属性
注釈
特性読み取り操作の結果を報告するコールバック。
このメンバーは非推奨です。 メモリ セーフであるため、 BluetoothGattCallback#onCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, byte[], int) を使用する
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
OnCharacteristicRead(BluetoothGatt, BluetoothGattCharacteristic, Byte[], GattStatus)
特性読み取り操作の結果を報告するコールバック。
[Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;[BI)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_arrayBIHandler", ApiSince=33)]
public virtual void OnCharacteristicRead(Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, byte[] value, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onCharacteristicRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;[BI)V", "GetOnCharacteristicRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattCharacteristic_arrayBIHandler", ApiSince=33)>]
abstract member OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * byte[] * Android.Bluetooth.GattStatus -> unit
override this.OnCharacteristicRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattCharacteristic * byte[] * Android.Bluetooth.GattStatus -> unit
パラメーター
- gatt
- BluetoothGatt
GATT クライアントが呼び出されました BluetoothGatt#readCharacteristic(BluetoothGattCharacteristic)
- characteristic
- BluetoothGattCharacteristic
関連付けられているリモート デバイスから読み取られた特性。
- value
- Byte[]
特性の値
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS 読み取り操作が正常に完了した場合。
- 属性
注釈
特性読み取り操作の結果を報告するコールバック。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。