CortanaPermissionsManager.IsSupported Method
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.
Retrieves whether Cortana is supported.
public:
virtual bool IsSupported() = IsSupported;
bool IsSupported();
/// [Windows.Foundation.Metadata.Deprecated("ICortanaPermissionsManager is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
bool IsSupported();
public bool IsSupported();
[Windows.Foundation.Metadata.Deprecated("ICortanaPermissionsManager is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public bool IsSupported();
function isSupported()
Public Function IsSupported () As Boolean
Returns
Boolean
bool
true if Cortana is supported. Otherwise, false.
- Attributes
Windows requirements
App capabilities |
cortanaPermissions
|
Remarks
The CortanaPermissionManager class requires the following be added to the Package.appmanifest:
- To <Package>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Under <Capabilities>
<rescap:capability name="cortanaPermissions"/>