Android.Media.MediaPlayer.VideoScalingModeScaleToFit Field
Specifies a video scaling mode.

Value: 1

Syntax

[Android.Runtime.Register("VIDEO_SCALING_MODE_SCALE_TO_FIT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaPlayerVideoScalingModeNotInUse enum directly instead of this field.")]
public const MediaPlayerVideoScalingModeNotInUse VideoScalingModeScaleToFit

Remarks

Specifies a video scaling mode. The content is stretched to the surface rendering area. When the surface has the same aspect ratio as the content, the aspect ratio of the content is maintained; otherwise, the aspect ratio of the content is not maintained when video is being rendered. Unlike MediaPlayer.VideoScalingModeScaleToFitWithCropping, there is no content cropping with this video scaling mode.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16