Android Guides | Samples

Android.Media.VideoScalingMode Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaCodec.SetVideoScalingMode, and MediaPlayer.SetVideoScalingMode members.

Syntax

public enum VideoScalingMode

Remarks

Members

Member NameDescription
ScaleToFitThe content is scaled to the surface dimensions
ScaleToFitWithCroppingThe content is scaled, maintaining its aspect ratio, the whole surface area is used, content may be cropped

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.VideoScalingMode are listed below.

See Also: Enum

Public Fields

ScaleToFitVideoScalingMode. The content is scaled to the surface dimensions
ScaleToFitWithCroppingVideoScalingMode. The content is scaled, maintaining its aspect ratio, the whole surface area is used, content may be cropped