Compartir a través de


Connection.VideoProvider.OnSetDisplaySurface(Surface) Method

Definition

Sets the surface to be used for displaying the video received from the remote device.

[Android.Runtime.Register("onSetDisplaySurface", "(Landroid/view/Surface;)V", "GetOnSetDisplaySurface_Landroid_view_Surface_Handler", ApiSince=23)]
public abstract void OnSetDisplaySurface (Android.Views.Surface? surface);
[<Android.Runtime.Register("onSetDisplaySurface", "(Landroid/view/Surface;)V", "GetOnSetDisplaySurface_Landroid_view_Surface_Handler", ApiSince=23)>]
abstract member OnSetDisplaySurface : Android.Views.Surface -> unit

Parameters

surface
Surface

The Surface.

Attributes

Remarks

Sets the surface to be used for displaying the video received from the remote device.

Sent from the InCallService via InCallService.VideoCall#setDisplaySurface(Surface).

Java documentation for android.telecom.Connection.VideoProvider.onSetDisplaySurface(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