public class AudioSegments extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getOffsetTime()
Get This field is used to return the start time of an audio segment in seconds.
|
AudioResult |
getResult()
Get This field is used to return the specific moderation result of an audio segment.
|
void |
setOffsetTime(String OffsetTime)
Set This field is used to return the start time of an audio segment in seconds.
|
void |
setResult(AudioResult Result)
Set This field is used to return the specific moderation result of an audio segment.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AudioSegments()
public AudioSegments(AudioSegments source)
public String getOffsetTime()
public void setOffsetTime(String OffsetTime)
OffsetTime
- This field is used to return the start time of an audio segment in seconds. For audio on demand files, this parameter indicates the time offset of the audio from the complete audio track, such as 0 (no offset), 5 (5 seconds after the start of the audio track), and 10 (10 seconds after the start of the audio track). For live audio stream files, this parameter returns the Unix timestamp of the start of the audio segment, such as `1594650717`.
Note: this field may return null, indicating that no valid values can be obtained.public AudioResult getResult()
public void setResult(AudioResult Result)
Result
- This field is used to return the specific moderation result of an audio segment. For details, see the description of the `AudioResult` data structure.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.