BluetoothDevice.ActionKeyMissing Field
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.
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.