Compartir a través de


MediaSync.SetSurface(Surface) Method

Definition

Sets the output surface for MediaSync.

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

Parameters

surface
Surface

Specify a surface on which to render the video data.

Attributes

Remarks

Sets the output surface for MediaSync.

Currently, this is only supported in the Initialized state.

Java documentation for android.media.MediaSync.setSurface(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