Enum NERoomVideoView.VideoScalingType

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SCALE_ASPECT_FIT

      适应视频,视频尺寸等比缩放。优先保证视频内容全部显示。若视频尺寸与显示视窗尺寸不一致,视窗未被填满的区域填充背景色。

      SCALE_ASPECT_FILL

      适应区域,视频尺寸等比缩放。保证所有区域被填满,视频超出部分会被裁剪。

      SCALE_ASPECT_BALANCED

      折中方案,视频尺寸非等比缩放。保证视频内容全部显示,且填满视窗。

    • Method Summary

      Modifier and Type Method Description
      final NERoomVideoView.VideoScalingType valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<NERoomVideoView.VideoScalingType> values() Returns an array containing the constants of this enum type, in the order they're declared.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • valueOf

         final NERoomVideoView.VideoScalingType valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)