Share via


BluetoothDevice.ActionKeyMissing Field

Definition

Broadcast Action: Indicates that previously bonded device couldn't provide keys to establish encryption.

[Android.Runtime.Register("ACTION_KEY_MISSING", ApiSince=36)]
public const string ActionKeyMissing;
[<Android.Runtime.Register("ACTION_KEY_MISSING", ApiSince=36)>]
val mutable ActionKeyMissing : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: Indicates that previously bonded device couldn't provide keys to establish encryption. This can have numerous reasons, i.e.:

<ul> <li>remote was factory reset, or removed bond <li>spoofing attack, someone is impersonating remote device <li>in case of LE devices, very unlikely address collision </ul>

Always contains the extra field #EXTRA_DEVICE

This method requires the calling app to have the android.Manifest.permission#BLUETOOTH_CONNECT permission. Before android.os.Build.VERSION_CODES#BAKLAVA this method also required android.Manifest.permission#BLUETOOTH_PRIVILEGED

Java documentation for android.bluetooth.BluetoothDevice.ACTION_KEY_MISSING.

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