BluetoothHidDevice.UnregisterApp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters application.
[Android.Runtime.Register("unregisterApp", "()Z", "", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool UnregisterApp();
[<Android.Runtime.Register("unregisterApp", "()Z", "", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.UnregisterApp : unit -> bool
Returns
true if the command is successfully sent; otherwise false.
- Attributes
Remarks
Unregisters application. Active connection will be disconnected and no new connections will be allowed until registered again using #registerApp (BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, Executor, Callback). The registration status should be tracked by the application by handling callback from Callback#onAppStatusChanged. The app registration status is not related to the return value of this method.
Java documentation for android.bluetooth.BluetoothHidDevice.unregisterApp().
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.