Partager via


HostApduService.DeactivationDeselected Field

Definition

Caution

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

Reason for #onDeactivated(int).

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

Field Value

Value = 1
Attributes

Remarks

Reason for #onDeactivated(int).

Indicates deactivation was due to a different AID being selected (which implicitly deselects the AID currently active on the logical channel).

Note that this next AID may still be resolved to this service, in which case #processCommandApdu(byte[], Bundle) will be called again.

Java documentation for android.nfc.cardemulation.HostApduService.DEACTIVATION_DESELECTED.

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