Android.Media.MediaRecorder.SetOutputFile Method
Pass in the file descriptor of the file to be written.

Syntax

[Android.Runtime.Register("setOutputFile", "(Ljava/io/FileDescriptor;)V", "GetSetOutputFile_Ljava_io_FileDescriptor_Handler")]
public virtual void SetOutputFile (Java.IO.FileDescriptor fd)

Parameters

fd
an open file descriptor to be written into.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif it is called before setOutputFormat() or after prepare()

Remarks

Pass in the file descriptor of the file to be written. Call this after setOutputFormat() but before prepare().

[Android Documentation]

Requirements

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