BluetoothHealthCallback.OnHealthChannelStateChange メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
チャネル状態の変化を通知するコールバック。
[Android.Runtime.Register("onHealthChannelStateChange", "(Landroid/bluetooth/BluetoothHealthAppConfiguration;Landroid/bluetooth/BluetoothDevice;IILandroid/os/ParcelFileDescriptor;I)V", "GetOnHealthChannelStateChange_Landroid_bluetooth_BluetoothHealthAppConfiguration_Landroid_bluetooth_BluetoothDevice_IILandroid_os_ParcelFileDescriptor_IHandler")]
public virtual void OnHealthChannelStateChange (Android.Bluetooth.BluetoothHealthAppConfiguration? config, Android.Bluetooth.BluetoothDevice? device, Android.Bluetooth.HealthState prevState, Android.Bluetooth.HealthState newState, Android.OS.ParcelFileDescriptor? fd, int channelId);
[<Android.Runtime.Register("onHealthChannelStateChange", "(Landroid/bluetooth/BluetoothHealthAppConfiguration;Landroid/bluetooth/BluetoothDevice;IILandroid/os/ParcelFileDescriptor;I)V", "GetOnHealthChannelStateChange_Landroid_bluetooth_BluetoothHealthAppConfiguration_Landroid_bluetooth_BluetoothDevice_IILandroid_os_ParcelFileDescriptor_IHandler")>]
abstract member OnHealthChannelStateChange : Android.Bluetooth.BluetoothHealthAppConfiguration * Android.Bluetooth.BluetoothDevice * Android.Bluetooth.HealthState * Android.Bluetooth.HealthState * Android.OS.ParcelFileDescriptor * int -> unit
override this.OnHealthChannelStateChange : Android.Bluetooth.BluetoothHealthAppConfiguration * Android.Bluetooth.BluetoothDevice * Android.Bluetooth.HealthState * Android.Bluetooth.HealthState * Android.OS.ParcelFileDescriptor * int -> unit
パラメーター
Health アプリの構成
- device
- BluetoothDevice
Bluetooth デバイス
- prevState
- HealthState
チャネルの以前の状態
- newState
- HealthState
チャネルの新しい状態。
チャネルの状態が接続されている場合のパーセル ファイル記述子。
- channelId
- Int32
チャネルに関連付けられている ID。 この ID は、チャネルの切断時など、今後の呼び出しで使用されます。
- 属性
注釈
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。