Language

ContentCaptureSession.Version1 フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.Views.ContentCaptures.ContentCaptureSessionVersion enum directly instead of this field.

コンテンツ キャプチャ バージョン 1。

[Android.Runtime.Register("VERSION_1", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.ContentCaptures.ContentCaptureSessionVersion enum directly instead of this field.", true)]
public const Android.Views.ContentCaptures.ContentCaptureSessionVersion Version1 = 1;
[<Android.Runtime.Register("VERSION_1", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.ContentCaptures.ContentCaptureSessionVersion enum directly instead of this field.", true)>]
val mutable Version1 : Android.Views.ContentCaptures.ContentCaptureSessionVersion

フィールド値

Value = 1
属性

注釈

コンテンツ キャプチャ バージョン 1。

最初のコンテンツ キャプチャ バージョンは、現在のビュー階層をアプリケーション プロセスから定期的なイベント ダンプ ( Flush()など) を介してシステム インテリジェンス サービスに転送しようとする、情報豊富なイベント ベースのシステムです。 ただし、生成されるイベントの数が多いため、このシステムはリソースの負荷が高い場合もあります。

ContentCaptureVersionによってこのバージョンが返された場合、開発者はバージョン 1 API を使用して、ビュー階層の変更をシステムに通知する必要があります。 セッションがバージョン 1 用に構成されている場合にバージョン 2 API を呼び出すと、操作は行われません。

コンテンツ キャプチャ バージョン 1 の API には、 NotifyViewAppeared(ViewStructure)、 NotifyViewDisappeared(AutofillId)、 NotifyViewsAppeared(IList<ViewStructure>)、 NotifyViewsDisappeared(AutofillId, Int64[])、 NotifyViewTextChanged(AutofillId, ICharSequence)、 Flush()、 NewViewStructure(View)、および NewVirtualViewStructure(AutofillId, Int64)が含まれます。

android.view.contentcapture.ContentCaptureSession.VERSION_1の Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象