Sdílet prostřednictvím


MediaRecorder.SetVideoProfile(EncoderProfiles+VideoProfile) Method

Definition

Uses the settings from a VideoProfile object for recording.

[Android.Runtime.Register("setVideoProfile", "(Landroid/media/EncoderProfiles$VideoProfile;)V", "GetSetVideoProfile_Landroid_media_EncoderProfiles_VideoProfile_Handler", ApiSince=31)]
public virtual void SetVideoProfile (Android.Media.EncoderProfiles.VideoProfile profile);
[<Android.Runtime.Register("setVideoProfile", "(Landroid/media/EncoderProfiles$VideoProfile;)V", "GetSetVideoProfile_Landroid_media_EncoderProfiles_VideoProfile_Handler", ApiSince=31)>]
abstract member SetVideoProfile : Android.Media.EncoderProfiles.VideoProfile -> unit
override this.SetVideoProfile : Android.Media.EncoderProfiles.VideoProfile -> unit

Parameters

profile
EncoderProfiles.VideoProfile

the VideoProfile to use

Attributes

Remarks

Java documentation for android.media.MediaRecorder.setVideoProfile(android.media.VideoProfile).

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