Lenguaje

MediaPlayer.VideoWidth Propiedad

Definición

Devuelve el ancho del vídeo.

public virtual int VideoWidth { [Android.Runtime.Register("getVideoWidth", "()I", "GetGetVideoWidthHandler")] get; }
[<get: Android.Runtime.Register("getVideoWidth", "()I", "GetGetVideoWidthHandler")>]
member this.VideoWidth : int

Valor de propiedad

el ancho del vídeo, o 0 si no hay ningún vídeo, no se estableció ninguna superficie de visualización o el ancho aún no se ha determinado. OnVideoSizeChangedListener se puede registrar a través de #setOnVideoSizeChangedListener(OnVideoSizeChangedListener) para proporcionar una notificación cuando el ancho esté disponible.

Atributos

Comentarios

Devuelve el ancho del vídeo.

Java documentación para android.media.MediaPlayer.getVideoWidth().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a