MediaPlayer.VideoHeight Property

Definition

Returns the height of the video.

public virtual int VideoHeight { [Android.Runtime.Register("getVideoHeight", "()I", "GetGetVideoHeightHandler")] get; }
[<get: Android.Runtime.Register("getVideoHeight", "()I", "GetGetVideoHeightHandler")>]
member this.VideoHeight : int

Property Value

the height of the video, or 0 if there is no video, no display surface was set, or the height has not been determined yet. The OnVideoSizeChangedListener can be registered via #setOnVideoSizeChangedListener(OnVideoSizeChangedListener) to provide a notification when the height is available.

Attributes

Remarks

Returns the height of the video.

Java documentation for android.media.MediaPlayer.getVideoHeight().

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