ScrollCaptureSession 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ScrollCaptureSession(IntPtr, JniHandleOwnership) |
為現有的 Java Native 介面物件參考建立一個受管理的對等節點。 |
| ScrollCaptureSession(Surface, Rect, Point) |
建立一個新的會話實例。 |
ScrollCaptureSession(IntPtr, JniHandleOwnership)
為現有的 Java Native 介面物件參考建立一個受管理的對等節點。
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 的偏移量
- 屬性
備註
建立一個新的會話實例。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。