Share via


ScrollCaptureSession Constructors

Definition

Overloads

ScrollCaptureSession(IntPtr, JniHandleOwnership)
ScrollCaptureSession(Surface, Rect, Point)

Constructs a new session instance.

ScrollCaptureSession(IntPtr, JniHandleOwnership)

protected ScrollCaptureSession (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.ScrollCaptureSession : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.ScrollCaptureSession

Parameters

javaReference
IntPtr

nativeint

Applies to

ScrollCaptureSession(Surface, Rect, Point)

Constructs a new session instance.

[Android.Runtime.Register(".ctor", "(Landroid/view/Surface;Landroid/graphics/Rect;Landroid/graphics/Point;)V", "", ApiSince=31)]
public ScrollCaptureSession (Android.Views.Surface surface, Android.Graphics.Rect scrollBounds, Android.Graphics.Point positionInWindow);
[<Android.Runtime.Register(".ctor", "(Landroid/view/Surface;Landroid/graphics/Rect;Landroid/graphics/Point;)V", "", ApiSince=31)>]
new Android.Views.ScrollCaptureSession : Android.Views.Surface * Android.Graphics.Rect * Android.Graphics.Point -> Android.Views.ScrollCaptureSession

Parameters

surface
Surface

the surface to consume generated images

scrollBounds
Rect

the bounds of the capture area within the containing view

positionInWindow
Point

the offset of scrollBounds within the window

Attributes

Remarks

Constructs a new session instance.

Java documentation for android.view.ScrollCaptureSession.ScrollCaptureSession(android.view.Surface, android.graphics.Rect, android.graphics.Point).

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.

Applies to