Android.Media.MediaRecorder.Surface Property
Gets the surface to record from when using SURFACE video source.

Syntax

[get: Android.Runtime.Register("getSurface", "()Landroid/view/Surface;", "GetGetSurfaceHandler")]
public virtual Android.Views.Surface Surface { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif it is called before MediaRecorder.Prepare, after MediaRecorder.Stop, or is called when VideoSource is not set to SURFACE.

Remarks

Gets the surface to record from when using SURFACE video source.

May only be called after MediaRecorder.Prepare. Frames rendered to the Surface before MediaRecorder.Start will be discarded.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1