AudioVisualContent Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. AnalysisContent - com.
azure. ai. contentunderstanding. models. AudioVisualContent
- com.
- com.
public final class AudioVisualContent
extends AnalysisContent
Audio visual content. Ex. audio/wav, video/mp4.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Audio |
fromJson(JsonReader jsonReader)
Reads an instance of Audio |
| List<Duration> |
getCameraShotTimes()
Gets the camera |
| Duration |
getEndTime()
Gets the end |
| Integer |
getHeight()
Get the height property: Height of each video frame in pixels, if applicable. |
| List<Duration> |
getKeyFrameTimes()
Gets the key |
|
Analysis |
getKind()
Get the kind property: Content kind. |
|
List<Audio |
getSegments()
Get the segments property: List of detected content segments. |
| Duration |
getStartTime()
Gets the start |
|
List<Transcript |
getTranscriptPhrases()
Get the transcript |
| Integer |
getWidth()
Get the width property: Width of each video frame in pixels, if applicable. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from AnalysisContent
Methods inherited from java.lang.Object
Method Details
fromJson
public static AudioVisualContent fromJson(JsonReader jsonReader)
Reads an instance of AudioVisualContent from the JsonReader.
Parameters:
Returns:
Throws:
getCameraShotTimes
public List<Duration> getCameraShotTimes()
Gets the cameraShotTimes as a list of Duration values.
Returns:
getEndTime
public Duration getEndTime()
Gets the endTime as a Duration.
Returns:
getHeight
public Integer getHeight()
Get the height property: Height of each video frame in pixels, if applicable.
Returns:
getKeyFrameTimes
public List<Duration> getKeyFrameTimes()
Gets the keyFrameTimes as a list of Duration values.
Returns:
getKind
public AnalysisContentKind getKind()
Get the kind property: Content kind.
Overrides:
AudioVisualContent.getKind()Returns:
getSegments
public List<AudioVisualContentSegment> getSegments()
Get the segments property: List of detected content segments. Only if enableSegment is true.
Returns:
getStartTime
public Duration getStartTime()
Gets the startTime as a Duration.
Returns:
getTranscriptPhrases
public List<TranscriptPhrase> getTranscriptPhrases()
Get the transcriptPhrases property: List of transcript phrases. Only if returnDetails is true.
Returns:
getWidth
public Integer getWidth()
Get the width property: Width of each video frame in pixels, if applicable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AudioVisualContent.toJson(JsonWriter jsonWriter)Parameters:
Throws: