ScrollCaptureSession Constructors
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.
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
- transfer
- JniHandleOwnership
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.
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.