Class ZegoVideoViewMode


  • public final class ZegoVideoViewMode
    extends java.lang.Object
    视频输出填充类型。

    Copyright © 2017 Zego. All rights reserved.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ScaleAspectFill
      等比缩放填充整View,可能有部分被裁减。
      static int ScaleAspectFit
      等比缩放,可能有黑边,SDK 默认值。
      static int ScaleToFill
      填充整个View,视频可能会变形。
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ScaleAspectFit

        public static final int ScaleAspectFit
        等比缩放,可能有黑边,SDK 默认值。
        See Also:
        Constant Field Values
      • ScaleAspectFill

        public static final int ScaleAspectFill
        等比缩放填充整View,可能有部分被裁减。
        See Also:
        Constant Field Values
      • ScaleToFill

        public static final int ScaleToFill
        填充整个View,视频可能会变形。
        See Also:
        Constant Field Values
    • Constructor Detail

      • ZegoVideoViewMode

        public ZegoVideoViewMode()