Language

DeactivationReason Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Nfc.CardEmulators.HostApduService.OnDeactivated member.

public enum DeactivationReason
type DeactivationReason = 
Inheritance
DeactivationReason

Fields

Name Value Description
LinkLoss 0

Reason for onDeactivated(int). Indicates deactivation was due to the NFC link being lost.

Android reference for android.nfc.cardemulation.HostApduService.DEACTIVATION_LINK_LOSS.

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.

Deselected 1

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.

Android reference 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.

Remarks

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