Share via


ReviewsExtensions.AddVideoTranscriptAsync Method

Definition

This API adds a transcript file (text version of all the words spoken in a video) to a video review. The file should be a valid WebVTT format.

public static System.Threading.Tasks.Task AddVideoTranscriptAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string teamName, string reviewId, System.IO.Stream vTTfile, System.Threading.CancellationToken cancellationToken = default);
static member AddVideoTranscriptAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddVideoTranscriptAsync (operations As IReviews, teamName As String, reviewId As String, vTTfile As Stream, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IReviews

The operations group for this extension method.

teamName
String

Your team name.

reviewId
String

Id of the review.

vTTfile
Stream

Transcript file of the video.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to