Share via


RemoteConnection.VideoProvider.SetPreviewSurface(Surface) Method

Definition

Sets the surface to be used for displaying a preview of what the user's camera is currently capturing for the RemoteConnection.VideoProvider.

[Android.Runtime.Register("setPreviewSurface", "(Landroid/view/Surface;)V", "GetSetPreviewSurface_Landroid_view_Surface_Handler", ApiSince=23)]
public virtual void SetPreviewSurface (Android.Views.Surface surface);
[<Android.Runtime.Register("setPreviewSurface", "(Landroid/view/Surface;)V", "GetSetPreviewSurface_Landroid_view_Surface_Handler", ApiSince=23)>]
abstract member SetPreviewSurface : Android.Views.Surface -> unit
override this.SetPreviewSurface : Android.Views.Surface -> unit

Parameters

surface
Surface

The Surface.

Attributes

Remarks

Sets the surface to be used for displaying a preview of what the user's camera is currently capturing for the RemoteConnection.VideoProvider.

Java documentation for android.telecom.RemoteConnection.VideoProvider.setPreviewSurface(android.view.Surface).

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