Compartilhar via


CortanaPermissionsManager.IsSupported Método

Definição

Recupera se a Cortana tem suporte.

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

Retornos

Boolean

bool

true se a Cortana tiver suporte. Caso contrário, false.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
cortanaPermissions

Comentários

A classe CortanaPermissionManager requer que o seguinte seja adicionado ao Package.appmanifest:

  • Para Empacotar <>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Em <Recursos>
    • <rescap:capability name="cortanaPermissions"/>

Aplica-se a