MediaRecorder.SetProfile(CamcorderProfile) Method

Definition

Uses the settings from a CamcorderProfile object for recording.

[Android.Runtime.Register("setProfile", "(Landroid/media/CamcorderProfile;)V", "GetSetProfile_Landroid_media_CamcorderProfile_Handler")]
public virtual void SetProfile (Android.Media.CamcorderProfile? profile);
[<Android.Runtime.Register("setProfile", "(Landroid/media/CamcorderProfile;)V", "GetSetProfile_Landroid_media_CamcorderProfile_Handler")>]
abstract member SetProfile : Android.Media.CamcorderProfile -> unit
override this.SetProfile : Android.Media.CamcorderProfile -> unit

Parameters

profile
CamcorderProfile

the CamcorderProfile to use

Attributes

Remarks

Uses the settings from a CamcorderProfile object for recording. This method should be called after the video AND audio sources are set, and before setOutputFile(). If a time lapse CamcorderProfile is used, audio related source or recording parameters are ignored.

Java documentation for android.media.MediaRecorder.setProfile(android.media.CamcorderProfile).

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

See also