CortanaActionableInsights クラス

定義

画像またはテキストからコンテキスト分析情報を派生させ、ユーザーがコンテンツの詳細を確認したり、それに基づいてアクションを実行したりできます。

public ref class CortanaActionableInsights sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CortanaActionableInsights final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
class CortanaActionableInsights final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CortanaActionableInsights
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public sealed class CortanaActionableInsights
Public NotInheritable Class CortanaActionableInsights
継承
Object Platform::Object IInspectable CortanaActionableInsights
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)
アプリの機能
cortanaSurface

注釈

CortanaActionableInsights クラスを Package.appxmanifest に追加するには、次のものが必要です。

  • パッケージ化する<>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • [機能]<>
    • <rescap:capability name="cortanaSurface"/>

プロパティ

User

現在の CortanaActionableInsights オブジェクトに関連付けられているユーザーを取得します。

メソッド

GetDefault()

現在のユーザーの CortanaActionableInsights オブジェクトを取得します。

GetForUser(User)

指定したユーザーの CortanaActionableInsights オブジェクトを取得します。

IsAvailableAsync()

ユーザーの現在のシステムで分析情報を生成できるかどうかを非同期的に取得します。

ShowInsightsAsync(DataPackage)

指定したテキストと画像の内容に基づいて、分析情報を非同期的に取得して表示します。

ShowInsightsAsync(DataPackage, CortanaActionableInsightsOptions)

指定したテキストと画像の内容とオプションに基づいて、分析情報を非同期的に取得して表示します。

ShowInsightsForImageAsync(IRandomAccessStreamReference)

指定した画像コンテンツに基づいて分析情報を非同期的に取得して表示します。

ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions)

指定した画像の内容とオプションに基づいて、分析情報を非同期的に取得して表示します。

ShowInsightsForTextAsync(String)

指定したテキスト コンテンツに基づいて分析情報を非同期的に取得して表示します。

ShowInsightsForTextAsync(String, CortanaActionableInsightsOptions)

指定したテキストの内容とオプションに基づいて、分析情報を非同期的に取得して表示します。

適用対象

こちらもご覧ください