AudioVisualContentSegment Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. AudioVisualContentSegment
- com.
Implements
public final class AudioVisualContentSegment
implements JsonSerializable<AudioVisualContentSegment>
Detected audio/visual content segment.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Audio |
fromJson(JsonReader jsonReader)
Reads an instance of Audio |
| String |
getCategory()
Get the category property: Classified content category. |
| Duration |
getEndTime()
Gets the end |
| String |
getSegmentId()
Get the segment |
|
Content |
getSpan()
Get the span property: Span of the segment in the markdown content. |
| Duration |
getStartTime()
Gets the start |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AudioVisualContentSegment fromJson(JsonReader jsonReader)
Reads an instance of AudioVisualContentSegment from the JsonReader.
Parameters:
Returns:
Throws:
getCategory
public String getCategory()
Get the category property: Classified content category.
Returns:
getEndTime
public Duration getEndTime()
Gets the endTime as a Duration.
Returns:
getSegmentId
public String getSegmentId()
Get the segmentId property: Segment identifier.
Returns:
getSpan
public ContentSpan getSpan()
Get the span property: Span of the segment in the markdown content.
Returns:
getStartTime
public Duration getStartTime()
Gets the startTime as a Duration.
Returns: