-api-id | -api-type | ms.custom |
---|---|---|
T:Windows.Services.Cortana.CortanaActionableInsightsOptions |
winrt class |
RS5 |
Specifies options for refining the insights retrieved through the CortanaActionableInsights methods.
cortanaSurface
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"/>
ShowInsightsForTextAsync(String text, CortanaActionableInsightsOptions options), ShowInsightsForImageAsync(Windows.Storage.Streams.IRandomAccessStreamReference,Windows.Services.Cortana.CortanaActionableInsightsOptions), ShowInsightsAsync(DataPackage datapackage, CortanaActionableInsightsOptions options)