Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.48 KB

cortanaactionableinsightsoptions.md

File metadata and controls

38 lines (24 loc) · 1.48 KB
-api-id -api-type ms.custom
T:Windows.Services.Cortana.CortanaActionableInsightsOptions
winrt class
RS5

Windows.Services.Cortana.CortanaActionableInsightsOptions

-description

Specifies options for refining the insights retrieved through the CortanaActionableInsights methods.

-capabilities

cortanaSurface

-remarks

The CortanaActionableInsightsOptions properties are used to identify the contextual metadata for the specified text and image content.

The CortanaActionableInsights class requires the following be added to the Package.appxmanifest:

  • To <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Under <Capabilities>
    • <rescap:capability name="cortanaSurface"/>

-see-also

ShowInsightsForTextAsync(String text, CortanaActionableInsightsOptions options), ShowInsightsForImageAsync(Windows.Storage.Streams.IRandomAccessStreamReference,Windows.Services.Cortana.CortanaActionableInsightsOptions), ShowInsightsAsync(DataPackage datapackage, CortanaActionableInsightsOptions options)

-examples