Język

PreferredPaymentAction Enum

Definition

Identifies the reason for an NFC preferred-payment change notification.

public enum PreferredPaymentAction
type PreferredPaymentAction = 
Inheritance
PreferredPaymentAction

Fields

Name Value Description
Loaded 1

Nfc is enabled and the preferred payment aids are registered.

Android reference for android.nfc.NfcAdapter.PREFERRED_PAYMENT_LOADED.

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.

Changed 2

User selected another payment application as the preferred payment.

Android reference for android.nfc.NfcAdapter.PREFERRED_PAYMENT_CHANGED.

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.

Updated 3

Current preferred payment has issued an update (registered/unregistered new aids or has been updated itself).

Android reference for android.nfc.NfcAdapter.PREFERRED_PAYMENT_UPDATED.

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

These .NET values correspond to the PREFERRED_PAYMENT_* constants reported in ExtraPreferredPaymentChangedReason with ActionPreferredPaymentChanged. They distinguish loading, selection changes, and updates to the preferred payment application.

Android source for the preferred-payment notification constants.

Applies to