ScrollCaptureSession 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ScrollCaptureSession(IntPtr, JniHandleOwnership) |
为现有的 Java Native Interface 对象引用创建托管对等。 |
| ScrollCaptureSession(Surface, Rect, Point) |
构造新的会话实例。 |
ScrollCaptureSession(IntPtr, JniHandleOwnership)
为现有的 Java Native Interface 对象引用创建托管对等。
protected ScrollCaptureSession(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.ScrollCaptureSession : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.ScrollCaptureSession
参数
- javaReference
-
IntPtr
nativeint
用于 java 引用的 System.IntPtr 值。
- transfer
- JniHandleOwnership
用于传输的 Android.Runtime.JniHandleOwnership 值。
注解
有关详细信息,请参阅 Android.view.ScrollCaptureSession 的 Android 参考文档。
适用于
ScrollCaptureSession(Surface, Rect, Point)
构造新的会话实例。
[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
参数
- surface
- Surface
使用生成的图像的图面
- scrollBounds
- Rect
包含视图中捕获区域的边界
- positionInWindow
- Point
窗口中 scrollBounds 的偏移量
- 属性
注解
构造新的会话实例。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。