MediaPlayer.VideoWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the width of the video.
public virtual int VideoWidth { [Android.Runtime.Register("getVideoWidth", "()I", "GetGetVideoWidthHandler")] get; }
[<get: Android.Runtime.Register("getVideoWidth", "()I", "GetGetVideoWidthHandler")>]
member this.VideoWidth : int
Property Value
the width of the video, or 0 if there is no video,
no display surface was set, or the width has not been determined
yet. The OnVideoSizeChangedListener can be registered via
#setOnVideoSizeChangedListener(OnVideoSizeChangedListener)
to provide a notification when the width is available.
- Attributes
Remarks
Returns the width of the video.
Java documentation for android.media.MediaPlayer.getVideoWidth()
.
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.