Share via


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

Name Value Description
Never 0

Card emulation is disabled.

Always 1

Card emulation is always on.

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