Partager via


PixelCopy.PixelCopyRequest.Builder.OfSurface Method

Definition

Overloads

OfSurface(Surface)
OfSurface(SurfaceView)

OfSurface(Surface)

[Android.Runtime.Register("ofSurface", "(Landroid/view/Surface;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)]
public static Android.Views.PixelCopy.PixelCopyRequest.Builder OfSurface (Android.Views.Surface source);
[<Android.Runtime.Register("ofSurface", "(Landroid/view/Surface;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)>]
static member OfSurface : Android.Views.Surface -> Android.Views.PixelCopy.PixelCopyRequest.Builder

Parameters

source
Surface

Returns

Attributes

Applies to

OfSurface(SurfaceView)

[Android.Runtime.Register("ofSurface", "(Landroid/view/SurfaceView;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)]
public static Android.Views.PixelCopy.PixelCopyRequest.Builder OfSurface (Android.Views.SurfaceView source);
[<Android.Runtime.Register("ofSurface", "(Landroid/view/SurfaceView;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)>]
static member OfSurface : Android.Views.SurfaceView -> Android.Views.PixelCopy.PixelCopyRequest.Builder

Parameters

source
SurfaceView

Returns

Attributes

Applies to