語言

BluetoothDevice.ActionLeAppearanceChanged 欄位

定義

若LE外觀值尚未已知或未更改,則綁定裝置會廣播此意圖。

[Android.Runtime.Register("ACTION_LE_APPEARANCE_CHANGED", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public const string ActionLeAppearanceChanged;
[<Android.Runtime.Register("ACTION_LE_APPEARANCE_CHANGED", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
val mutable ActionLeAppearanceChanged : string

欄位值

實作

屬性

備註

若LE外觀值尚未已知或未更改,則綁定裝置會廣播此意圖。

總是包含額外的欄位 EXTRA_DEVICE 和 EXTRA_LE_APPEARANCE。 針對Build.VERSION_CODES的應用程式。若為 S 或更高,則需取得 Manifest.permission.BLUETOOTH_CONNECT 權限,可透過 android.app.Activity.requestPermissions(String[],int)取得。 需要Manifest.permission.BLUETOOTH_CONNECT

Android 參考資料。android.bluetooth.BluetoothDevice.ACTION_LE_APPEARANCE_CHANGED

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於