Udostępnij za pośrednictwem


IReviews.AddVideoTranscriptModerationResultWithHttpMessagesAsync Method

Definition

This API adds a transcript screen text result file for a video review. Transcript screen text result file is a result of Screen Text API . In order to generate transcript screen text result file , a transcript file has to be screened for profanity using Screen Text API.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> AddVideoTranscriptModerationResultWithHttpMessagesAsync (string contentType, string teamName, string reviewId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.TranscriptModerationBodyItem> transcriptModerationBody, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddVideoTranscriptModerationResultWithHttpMessagesAsync : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.TranscriptModerationBodyItem> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function AddVideoTranscriptModerationResultWithHttpMessagesAsync (contentType As String, teamName As String, reviewId As String, transcriptModerationBody As IList(Of TranscriptModerationBodyItem), Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)

Parameters

contentType
String

The content type.

teamName
String

Your team name.

reviewId
String

Id of the review.

transcriptModerationBody
IList<TranscriptModerationBodyItem>

Body for add video transcript moderation result API

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to