Språk

BluetoothDevice.ActionLeAppearanceChanged Field

Definition

This intent will be broadcasted for bonded devices after LE connection is established, if the LE Appearance value was not known already or changed.

[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

Field Value

Implements

Attributes

Remarks

This intent will be broadcasted for bonded devices after LE connection is established, if the LE Appearance value was not known already or changed.

Always contains the extra fields EXTRA_DEVICE and EXTRA_LE_APPEARANCE. For apps targeting Build.VERSION_CODES.S or or higher, this requires the Manifest.permission.BLUETOOTH_CONNECT permission which can be gained with android.app.Activity.requestPermissions(String[],int). Requires Manifest.permission.BLUETOOTH_CONNECT

Android reference for android.bluetooth.BluetoothDevice.ACTION_LE_APPEARANCE_CHANGED.

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