Share via


CardEmulation.SelectionModeAskIfConflict Field

Definition

Caution

This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.

Return value for #getSelectionModeForCategory(String).

[Android.Runtime.Register("SELECTION_MODE_ASK_IF_CONFLICT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.", true)]
public const Android.Nfc.CardEmulators.CardSelectionMode SelectionModeAskIfConflict = 2;
[<Android.Runtime.Register("SELECTION_MODE_ASK_IF_CONFLICT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.", true)>]
val mutable SelectionModeAskIfConflict : Android.Nfc.CardEmulators.CardSelectionMode

Field Value

Value = 2
Attributes

Remarks

Return value for #getSelectionModeForCategory(String).

In this mode, when using ISO-DEP card emulation with HostApduService or OffHostApduService, the user will only be asked to select a service if the Application ID (AID) selected by the reader has been registered by multiple services. If there is only one service that has registered for the AID, that service will be invoked directly.

Java documentation for android.nfc.cardemulation.CardEmulation.SELECTION_MODE_ASK_IF_CONFLICT.

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