Class VideoDimensions


  • public class VideoDimensions
    extends java.lang.Object
    • Field Detail

      • CIF_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions CIF_VIDEO_DIMENSIONS
        CIF (352 x 288) resolution in 1.22:1 aspect ratio
      • VGA_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions VGA_VIDEO_DIMENSIONS
        VGA (640 x 480) resolution in 4:3 aspect ratio
      • WVGA_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions WVGA_VIDEO_DIMENSIONS
        WVGA (800 x 480) resolution
      • HD_540P_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions HD_540P_VIDEO_DIMENSIONS
        HD 540P (960 x 540) resolution
      • HD_720P_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions HD_720P_VIDEO_DIMENSIONS
        HD 720P (1280 x 720) resolution
      • HD_960P_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions HD_960P_VIDEO_DIMENSIONS
        HD 960P (1280 x 960) resolution
      • HD_S1080P_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions HD_S1080P_VIDEO_DIMENSIONS
        HD Standard 1080P (1440 x 1080) resolution
      • HD_1080P_VIDEO_DIMENSIONS

        @NonNull
        public static final VideoDimensions HD_1080P_VIDEO_DIMENSIONS
        HD Widescreen 1080P (1920 x 1080) resolution
      • width

        public final int width
      • height

        public final int height
    • Constructor Detail

      • VideoDimensions

        public VideoDimensions​(int width,
                               int height)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object