BluetoothHidDevice.UnregisterApp 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取消註冊應用程式。
[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
傳回
如果指令成功傳送,則為真;否則為假。
- 屬性
備註
取消註冊應用程式。 活躍連線將被解除連接,且在重新使用 。#registerApp (BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, Executor, Callback) 應用程式應透過處理來自 Callback#onAppStatusChanged 的回撥來追蹤註冊狀態。 應用程式註冊狀態與此方法的回傳價值無關。
Java 文件 android.bluetooth.BluetoothHidDevice.unregisterApp()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。