PixelCopy.PixelCopyRequest.Builder.OfSurface Method
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
| Name | Description |
|---|---|
| OfSurface(Surface) |
Creates a PixelCopy Builder for the given Surface |
| OfSurface(SurfaceView) |
Creates a PixelCopy Builder for the Surface belonging to the given SurfaceView |
OfSurface(Surface)
Creates a PixelCopy Builder for the given 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
The Android.Views.Surface value used for source.
Returns
The result of the of surface operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.PixelCopy.Request.Builder.ofSurface.
Java documentation for android.view.PixelCopy.Request.Builder.ofSurface.
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
OfSurface(SurfaceView)
Creates a PixelCopy Builder for the Surface belonging to the given 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
The Android.Views.SurfaceView value used for source.
Returns
The result of the of surface operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.PixelCopy.Request.Builder.ofSurface.
Java documentation for android.view.PixelCopy.Request.Builder.ofSurface.
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.