public class ImageSegments extends AbstractModel
Constructor and Description |
---|
ImageSegments() |
ImageSegments(ImageSegments 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 frame capturing time of a video segment in seconds.
|
ImageResult |
getResult()
Get This field is used to return the specific moderation result of a frame captured from a video segment.
|
void |
setOffsetTime(String OffsetTime)
Set This field is used to return the frame capturing time of a video segment in seconds.
|
void |
setResult(ImageResult Result)
Set This field is used to return the specific moderation result of a frame captured from a video 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 ImageSegments()
public ImageSegments(ImageSegments source)
public String getOffsetTime()
public void setOffsetTime(String OffsetTime)
OffsetTime
- This field is used to return the frame capturing time of a video segment in seconds. For video on demand files, this parameter indicates the time offset of the captured image from the video, such as 0 (no offset), 5 (5 seconds after the start of the video), and 10 (10 seconds after the start of the video). For live video stream files, this parameter returns the Unix timestamp of the image, such as `1594650717`.public ImageResult getResult()
public void setResult(ImageResult Result)
Result
- This field is used to return the specific moderation result of a frame captured from a video segment. For details, see the description of the `ImageResult` data structure.Copyright © 2023. All rights reserved.