Language

BluetoothGattCallback.OnServicesDiscovered(BluetoothGatt, GattStatus) メソッド

定義

リモート デバイスのリモート サービス、特性、および記述子の一覧が更新されたときに呼び出されるコールバック。つまり、新しいサービスが検出されました。

[Android.Runtime.Register("onServicesDiscovered", "(Landroid/bluetooth/BluetoothGatt;I)V", "GetOnServicesDiscovered_Landroid_bluetooth_BluetoothGatt_IHandler")]
public virtual void OnServicesDiscovered(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onServicesDiscovered", "(Landroid/bluetooth/BluetoothGatt;I)V", "GetOnServicesDiscovered_Landroid_bluetooth_BluetoothGatt_IHandler")>]
abstract member OnServicesDiscovered : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.GattStatus -> unit
override this.OnServicesDiscovered : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.GattStatus -> unit

パラメーター

gatt
BluetoothGatt

GATT クライアントが呼び出されました BluetoothGatt#discoverServices

status
GattStatus

BluetoothGatt#GATT_SUCCESS リモート デバイスが正常に探索された場合は〘。

属性

注釈

リモート デバイスのリモート サービス、特性、および記述子の一覧が更新されたときに呼び出されるコールバック。つまり、新しいサービスが検出されました。

Javaドキュメント。

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

適用対象