Dela via


BluetoothHidDevice.Callback.OnAppStatusChanged Method

Definition

Callback called when application registration state changes.

[Android.Runtime.Register("onAppStatusChanged", "(Landroid/bluetooth/BluetoothDevice;Z)V", "GetOnAppStatusChanged_Landroid_bluetooth_BluetoothDevice_ZHandler", ApiSince=28)]
public virtual void OnAppStatusChanged (Android.Bluetooth.BluetoothDevice? pluggedDevice, bool registered);
[<Android.Runtime.Register("onAppStatusChanged", "(Landroid/bluetooth/BluetoothDevice;Z)V", "GetOnAppStatusChanged_Landroid_bluetooth_BluetoothDevice_ZHandler", ApiSince=28)>]
abstract member OnAppStatusChanged : Android.Bluetooth.BluetoothDevice * bool -> unit
override this.OnAppStatusChanged : Android.Bluetooth.BluetoothDevice * bool -> unit

Parameters

pluggedDevice
BluetoothDevice

BluetoothDevice object which represents host that currently has Virtual Cable established with device. Only valid when application is registered, can be null.

registered
Boolean

true if application is registered, false otherwise.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHidDevice.Callback.onAppStatusChanged(android.bluetooth.BluetoothDevice, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to