Class AnimatedGraphicsTemplate

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getComment()
      Get 转动图模板描述。
      String getCreateTime()
      Get 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      Long getDefinition()
      Get 转动图模板唯一标识。
      String getFormat()
      Get 动图格式。
      Long getFps()
      Get 帧率。
      Long getHeight()
      Get 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。
      String getName()
      Get 转动图模板名称。
      Float getQuality()
      Get 图片质量。
      String getResolutionAdaptive()
      Get 分辨率自适应,可选值: open:开启,此时,Width 代表视频的长边,Height 表示视频的短边; close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。 默认值:open。
      String getType()
      Get 模板类型,取值范围: Preset:系统预置模板; Custom:用户自定义模板。
      String getUpdateTime()
      Get 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      Long getWidth()
      Get 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。
      void setComment​(String Comment)
      Set 转动图模板描述。
      void setCreateTime​(String CreateTime)
      Set 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      void setDefinition​(Long Definition)
      Set 转动图模板唯一标识。
      void setFormat​(String Format)
      Set 动图格式。
      void setFps​(Long Fps)
      Set 帧率。
      void setHeight​(Long Height)
      Set 动图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。
      void setName​(String Name)
      Set 转动图模板名称。
      void setQuality​(Float Quality)
      Set 图片质量。
      void setResolutionAdaptive​(String ResolutionAdaptive)
      Set 分辨率自适应,可选值: open:开启,此时,Width 代表视频的长边,Height 表示视频的短边; close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。 默认值:open。
      void setType​(String Type)
      Set 模板类型,取值范围: Preset:系统预置模板; Custom:用户自定义模板。
      void setUpdateTime​(String UpdateTime)
      Set 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      void setWidth​(Long Width)
      Set 动图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。 当 Width、Height 均为 0,则分辨率同源; 当 Width 为 0,Height 非 0,则 Width 按比例缩放; 当 Width 非 0,Height 为 0,则 Height 按比例缩放; 当 Width、Height 均非 0,则分辨率按用户指定。 默认值:0。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • AnimatedGraphicsTemplate

        public AnimatedGraphicsTemplate()
      • AnimatedGraphicsTemplate

        public AnimatedGraphicsTemplate​(AnimatedGraphicsTemplate source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getDefinition

        public Long getDefinition()
        Get 转动图模板唯一标识。
        Returns:
        Definition 转动图模板唯一标识。
      • setDefinition

        public void setDefinition​(Long Definition)
        Set 转动图模板唯一标识。
        Parameters:
        Definition - 转动图模板唯一标识。
      • getType

        public String getType()
        Get 模板类型,取值范围:
      • Preset:系统预置模板;
      • Custom:用户自定义模板。
Returns:
Type 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • Parameters:
    Type - 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。