Class AudioSegments
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vm.v20201229.models.AudioSegments
-
public class AudioSegments extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AudioSegments()AudioSegments(AudioSegments 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOffsetTime()Get 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。AudioResultgetResult()Get 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。voidsetOffsetTime(String OffsetTime)Set 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。voidsetResult(AudioResult Result)Set 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AudioSegments
public AudioSegments()
-
AudioSegments
public AudioSegments(AudioSegments 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
-
getOffsetTime
public String getOffsetTime()
Get 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- OffsetTime 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。
-
setOffsetTime
public void setOffsetTime(String OffsetTime)
Set 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
OffsetTime- 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。 注意:此字段可能返回 null,表示取不到有效值。
-
getResult
public AudioResult getResult()
Get 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Result 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。
-
setResult
public void setResult(AudioResult Result)
Set 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Result- 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。 注意:此字段可能返回 null,表示取不到有效值。
-
-