Langue

BluetoothDevice.ExtraPairingContext Field

Definition

Used as an int extra field in #ACTION_PAIRING_REQUEST and #ACTION_BOND_STATE_CHANGED intents which indicates the pairing context.

[Android.Runtime.Register("EXTRA_PAIRING_CONTEXT", ApiSince=37)]
public const string ExtraPairingContext;
[<Android.Runtime.Register("EXTRA_PAIRING_CONTEXT", ApiSince=37)>]
val mutable ExtraPairingContext : string

Field Value

Implements

Attributes

Remarks

Used as an int extra field in ACTION_PAIRING_REQUEST and ACTION_BOND_STATE_CHANGED intents which indicates the pairing context. Possible values for ACTION_PAIRING_REQUEST are: PAIRING_CONTEXT_USER_PARTICIPATION_REQUESTED, PAIRING_CONTEXT_USER_APPROVAL_REQUESTED, and PAIRING_CONTEXT_REPAIRING, while the possible value for ACTION_BOND_STATE_CHANGED is PAIRING_CONTEXT_REPAIRING.

Android reference for android.bluetooth.BluetoothDevice.EXTRA_PAIRING_CONTEXT.

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