SmartCardEmulator.EnablementPolicy Property
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.
Gets the current card emulation policy set by the user.
public:
property SmartCardEmulatorEnablementPolicy EnablementPolicy { SmartCardEmulatorEnablementPolicy get(); };
SmartCardEmulatorEnablementPolicy EnablementPolicy();
public SmartCardEmulatorEnablementPolicy EnablementPolicy { get; }
var smartCardEmulatorEnablementPolicy = smartCardEmulator.enablementPolicy;
Public ReadOnly Property EnablementPolicy As SmartCardEmulatorEnablementPolicy
Property Value
The current card emulation policy set by the user through the phone settings. This property is read-only to the app; you should tell the user to change the card emulation policy in the settings on his or her phone, if their mobile operator allows it.
Remarks
You can launch the URI ms-settings-nfctransactions:
from within your app to take the user to the NFC control panel for transactions so they can change the enablement policy.