Connection.VideoProvider.OnSetPreviewSurface(Surface) 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.
Sets the surface to be used for displaying a preview of what the user's camera is currently capturing.
[Android.Runtime.Register("onSetPreviewSurface", "(Landroid/view/Surface;)V", "GetOnSetPreviewSurface_Landroid_view_Surface_Handler", ApiSince=23)]
public abstract void OnSetPreviewSurface (Android.Views.Surface? surface);
[<Android.Runtime.Register("onSetPreviewSurface", "(Landroid/view/Surface;)V", "GetOnSetPreviewSurface_Landroid_view_Surface_Handler", ApiSince=23)>]
abstract member OnSetPreviewSurface : 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. When video transmission is enabled, this is the video signal which is sent to the remote device.
Sent from the InCallService
via InCallService.VideoCall#setPreviewSurface(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.