Partager via


ScrollCaptureSession.Surface Property

Definition

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

public virtual Android.Views.Surface Surface { [Android.Runtime.Register("getSurface", "()Landroid/view/Surface;", "GetGetSurfaceHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSurface", "()Landroid/view/Surface;", "GetGetSurfaceHandler", ApiSince=31)>]
member this.Surface : Android.Views.Surface

Property Value

the surface for transferring image buffers

Attributes

Remarks

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

The surface is guaranteed to remain Surface#isValid() valid until the session ScrollCaptureCallback#onScrollCaptureEnd(Runnable) ends.

Java documentation for android.view.ScrollCaptureSession.getSurface().

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