ContentCaptureSession.Version1 Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.ContentCaptures.ContentCaptureSessionVersion enum directly instead of this field.
Content Capture Version 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
Field Value
Value = 1- Attributes
Remarks
Content Capture Version 1.
The first Content Capture version is an information rich, event based system that attempts to transfer the current view hierarchy from the application process to a system intelligence service through periodic event dumps, e.g. flush(). However, this system can also be resource heavy due to the large number of events it generates.
When this version is returned by getContentCaptureVersion(), developers should use Version 1 APIs to notify the system of view hierarchy changes. Calling Version 2 APIs when the session is configured for Version 1 will result in no-ops.
A list of functions that belong explicitly to Content Capture Version 1: notifyViewAppeared(ViewStructure); notifyViewDisappeared(AutofillId); notifyViewsAppeared(List); notifyViewsDisappeared(AutofillId,long[]); notifyViewTextChanged(AutofillId,CharSequence); flush(); newViewStructure(View); newVirtualViewStructure(AutofillId,long)
Android reference for android.view.contentcapture.ContentCaptureSession.VERSION_1.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.