Share via


BluetoothHealthCallback.OnHealthChannelStateChange メソッド

定義

チャネル状態の変化を通知するコールバック。

[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

パラメーター

config
BluetoothHealthAppConfiguration

Health アプリの構成

device
BluetoothDevice

Bluetooth デバイス

prevState
HealthState

チャネルの以前の状態

newState
HealthState

チャネルの新しい状態。

fd
ParcelFileDescriptor

チャネルの状態が接続されている場合のパーセル ファイル記述子。

channelId
Int32

チャネルに関連付けられている ID。 この ID は、チャネルの切断時など、今後の呼び出しで使用されます。

属性

注釈

android.bluetooth.BluetoothHealthCallback.onHealthChannelStateChange(android.bluetooth.BluetoothHealthAppConfiguration, android.bluetooth.BluetoothDevice, int, int, android.os.ParcelFileDescriptor, int)Java ドキュメント。

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

適用対象