CortanaActionableInsightsOptions CortanaActionableInsightsOptions CortanaActionableInsightsOptions CortanaActionableInsightsOptions CortanaActionableInsightsOptions Class

Definition

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

Important

The CortanaActionableInsights APIs are a limited access feature. Please contact InsightsAPISupport@microsoft.com for more info, or to request an unlock token.

public : sealed class CortanaActionableInsightsOptions
struct winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions
public sealed class CortanaActionableInsightsOptions
Public NotInheritable Class CortanaActionableInsightsOptions
var cortanaActionableInsightsOptions = new cortanaActionableInsightsOptions();
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)
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"/>

Constructors

CortanaActionableInsightsOptions() CortanaActionableInsightsOptions() CortanaActionableInsightsOptions() CortanaActionableInsightsOptions() CortanaActionableInsightsOptions()

Creates a CortanaActionableInsightsOptions object.

Important

The CortanaActionableInsights APIs are a limited access feature. Please contact InsightsAPISupport@microsoft.com for more info, or to request an unlock token.

Properties

ContentSourceWebLink ContentSourceWebLink ContentSourceWebLink ContentSourceWebLink ContentSourceWebLink

A URI that identifies where the specified text or image content originated.

Important

The CortanaActionableInsights APIs are a limited access feature. Please contact InsightsAPISupport@microsoft.com for more info, or to request an unlock token.

SurroundingText SurroundingText SurroundingText SurroundingText SurroundingText

Text from the surrounding context of the content supplied to CortanaActionableInsights for showing insights.

Important

The CortanaActionableInsights APIs are a limited access feature. Please contact InsightsAPISupport@microsoft.com for more info, or to request an unlock token.

See also