Android.Media.MediaRecorder.SetOutputFile Method
Sets the path of the output file to be produced.

Syntax

[Android.Runtime.Register("setOutputFile", "(Ljava/lang/String;)V", "GetSetOutputFile_Ljava_lang_String_Handler")]
public virtual void SetOutputFile (string path)

Parameters

path
The pathname to use.

Exceptions

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

Remarks

Sets the path of the output file to be produced. 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 1