MediaPlayer.SetVideoScalingMode(VideoScalingMode) MediaPlayer.SetVideoScalingMode(VideoScalingMode) Method

Definition

Sets video scaling mode.

[Android.Runtime.Register("setVideoScalingMode", "(I)V", "GetSetVideoScalingMode_IHandler", ApiSince=16)]
public virtual void SetVideoScalingMode (Android.Media.VideoScalingMode mode);
abstract member SetVideoScalingMode : Android.Media.VideoScalingMode -> unit
override this.SetVideoScalingMode : Android.Media.VideoScalingMode -> unit

Parameters

mode
VideoScalingMode VideoScalingMode

target video scaling mode. Most be one of the supported video scaling modes; otherwise, IllegalArgumentException will be thrown.

Remarks

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