SmartCardEmulatorEnablementPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |