ScrollCaptureSession


public class ScrollCaptureSession
extends Object

java.lang.Object
   ↳ android.view.ScrollCaptureSession


A session represents the scope of interaction between a ScrollCaptureCallback and the system during an active scroll capture operation.

Summary

Public constructors

ScrollCaptureSession(Surface surface, Rect scrollBounds, Point positionInWindow)

Constructs a new session instance.

Public methods

Point getPositionInWindow()

Returns the offset of scroll bounds within the window.

Rect getScrollBounds()

Returns the scroll bounds, as provided by ScrollCaptureCallback.onScrollCaptureSearch.

Surface getSurface()

Returns a BufferQueue in the form of a Surface for transfer of image buffers.

Inherited methods