ContentCaptureSessionCompat

Helper for accessing features in ContentCaptureSession.

Functions

Link copied to clipboard
open fun newAutofillId(virtualChildId: Long): AutofillId
Creates a new AutofillId for a virtual child, so it can be used to uniquely identify the children in the session.
Link copied to clipboard
Creates a ViewStructure for a "virtual" view, so it can be passed to notifyViewsAppeared by the view managing the virtual view hierarchy.
Link copied to clipboard
open fun notifyViewsAppeared(@NonNull appearedNodes: List<ViewStructure>)
Notifies the Content Capture Service that a list of nodes has appeared in the view structure.
Link copied to clipboard
open fun notifyViewsDisappeared(@NonNull virtualIds: Array<Long>)
Notifies the Content Capture Service that many nodes has been removed from a virtual view structure.
Link copied to clipboard
Notifies the Intelligence Service that the value of a text node has been changed.
Link copied to clipboard
Provides the ContentCaptureSession represented by this object.
Link copied to clipboard
Provides a backward-compatible wrapper for ContentCaptureSession.