SmartCardEmulatorEnablementPolicy Enum

Definition

Represents the current card emulation policy set by the user in the phone settings.

public enum class SmartCardEmulatorEnablementPolicy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 65536)]
enum class SmartCardEmulatorEnablementPolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 65536)]
public enum SmartCardEmulatorEnablementPolicy
var value = Windows.Devices.SmartCards.SmartCardEmulatorEnablementPolicy.never
Public Enum SmartCardEmulatorEnablementPolicy
Inheritance
SmartCardEmulatorEnablementPolicy
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v1.0)

Fields

Always 1

Card emulation is always on.

Never 0

Card emulation is disabled.

ScreenOn 2

Card emulation is only on when the phone screen is on.

ScreenUnlocked 3

Card emulation is only on when the phone screen is unlocked.

Applies to

See also