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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for