Android.Media
VideoScalingMode
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
Enumerates values returned by the following:
MediaCodec.VideoScalingModeScaleToFit
MediaCodec.VideoScalingModeScaleToFitWithCropping
VideoScalingMode.ScaleToFit
VideoScalingMode.ScaleToFitWithCropping
and taken as a parameter of the
MediaCodec.SetVideoScalingMode
, and
MediaPlayer.SetVideoScalingMode
members.
Members
Member Name
Description
ScaleToFit
The content is scaled to the surface dimensions
ScaleToFitWithCropping
The 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