你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Reviews class

表示“审阅”的类。

构造函数

Reviews(ContentModeratorClientContext)

创建评审。

方法

addVideoFrame(string, string, ReviewsAddVideoFrameOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
addVideoFrame(string, string, ReviewsAddVideoFrameOptionalParams, ServiceCallback<void>)
addVideoFrame(string, string, ServiceCallback<void>)
addVideoFrameStream(string, string, string, HttpRequestBody, string, ReviewsAddVideoFrameStreamOptionalParams)

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

addVideoFrameStream(string, string, string, HttpRequestBody, string, ReviewsAddVideoFrameStreamOptionalParams, ServiceCallback<void>)
addVideoFrameStream(string, string, string, HttpRequestBody, string, ServiceCallback<void>)
addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ReviewsAddVideoFrameUrlOptionalParams)

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ReviewsAddVideoFrameUrlOptionalParams, ServiceCallback<void>)
addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ServiceCallback<void>)
addVideoTranscript(string, string, HttpRequestBody, RequestOptionsBase)

此 API 将脚本文件(视频中讲述的所有单词的文本版本)添加到视频评审。 文件应采用有效的 WebVTT 格式。

addVideoTranscript(string, string, HttpRequestBody, RequestOptionsBase, ServiceCallback<void>)
addVideoTranscript(string, string, HttpRequestBody, ServiceCallback<void>)
addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], RequestOptionsBase)

此 API 为视频评审添加脚本筛选文本结果文件。 脚本筛选文本结果文件是“筛选文本”API 的结果。 若要生成脚本筛选文本结果文件,必须使用“筛选文本”API 来筛选脚本文件中的猥琐内容。

addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], RequestOptionsBase, ServiceCallback<void>)
addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], ServiceCallback<void>)
createJob(string, ContentType, string, string, JobContentType, Content, ReviewsCreateJobOptionalParams)

将为此终结点上发布的内容返回作业 ID。

根据工作流评估内容后,将基于工作流表达式创建或忽略评审。

CallBack 架构

作业完成回叫示例


{
“JobId”: “,
“ReviewId”:“<审阅 ID,如果作业导致创建>审阅”,
“WorkFlowId”: “default”,
“Status”: “<this will be one of Complete, InProgress, Error>”,
“ContentType”: “Image”,
“ContentId”: “”,
“CallBackType”: “Job”,
“Metadata”: {
“adultscore”: “0.xxx”,
“a”: “False”,
“racyscore”: “0.xxx”,
“r”: “True”
}
}

查看完成调用回拨示例


{ “ReviewId”: “”,
“ModifiedOn”: “2016-10-11T22:36:32.9934851Z”,
“ModifiedBy”: “”,
“CallBackType”: “Review”,
“ContentId”: “”,
“Metadata”: {
“adultscore”: “0.xxx”, “a”: “False”,
“racyscore”: “0.xxx”,
“r”: “True”
},
“ReviewerResultTags”: {
“a”: “False”,
“r”: “True”
}
}

.
createJob(string, ContentType, string, string, JobContentType, Content, ReviewsCreateJobOptionalParams, ServiceCallback<JobId>)
createJob(string, ContentType, string, string, JobContentType, Content, ServiceCallback<JobId>)
createReviews(string, string, CreateReviewBodyItem[], ReviewsCreateReviewsOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
createReviews(string, string, CreateReviewBodyItem[], ReviewsCreateReviewsOptionalParams, ServiceCallback<string[]>)
createReviews(string, string, CreateReviewBodyItem[], ServiceCallback<string[]>)
createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ReviewsCreateVideoReviewsOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ReviewsCreateVideoReviewsOptionalParams, ServiceCallback<string[]>)
createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ServiceCallback<string[]>)
getJobDetails(string, string, RequestOptionsBase)

获取作业 ID 的作业详细信息。

getJobDetails(string, string, RequestOptionsBase, ServiceCallback<Job>)
getJobDetails(string, string, ServiceCallback<Job>)
getReview(string, string, RequestOptionsBase)

返回传递的评审 ID 的评审详细信息。

getReview(string, string, RequestOptionsBase, ServiceCallback<Review>)
getReview(string, string, ServiceCallback<Review>)
getVideoFrames(string, string, ReviewsGetVideoFramesOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
getVideoFrames(string, string, ReviewsGetVideoFramesOptionalParams, ServiceCallback<Frames>)
getVideoFrames(string, string, ServiceCallback<Frames>)
publishVideoReview(string, string, RequestOptionsBase)

发布视频评论,使其可供审阅。

publishVideoReview(string, string, RequestOptionsBase, ServiceCallback<void>)
publishVideoReview(string, string, ServiceCallback<void>)

构造函数详细信息

Reviews(ContentModeratorClientContext)

创建评审。

new Reviews(client: ContentModeratorClientContext)

参数

client
ContentModeratorClientContext

对服务客户端的引用。

方法详细信息

addVideoFrame(string, string, ReviewsAddVideoFrameOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
function addVideoFrame(teamName: string, reviewId: string, options?: ReviewsAddVideoFrameOptionalParams): Promise<RestResponse>

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
ReviewsAddVideoFrameOptionalParams

可选参数

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

addVideoFrame(string, string, ReviewsAddVideoFrameOptionalParams, ServiceCallback<void>)

function addVideoFrame(teamName: string, reviewId: string, options: ReviewsAddVideoFrameOptionalParams, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
ReviewsAddVideoFrameOptionalParams

可选参数

callback

ServiceCallback<void>

回调

addVideoFrame(string, string, ServiceCallback<void>)

function addVideoFrame(teamName: string, reviewId: string, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

callback

ServiceCallback<void>

回调

addVideoFrameStream(string, string, string, HttpRequestBody, string, ReviewsAddVideoFrameStreamOptionalParams)

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

function addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: HttpRequestBody, frameMetadata: string, options?: ReviewsAddVideoFrameStreamOptionalParams): Promise<RestResponse>

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

frameImageZip
HttpRequestBody

包含帧图像的 Zip 文件。

frameMetadata

string

帧的元数据。

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

addVideoFrameStream(string, string, string, HttpRequestBody, string, ReviewsAddVideoFrameStreamOptionalParams, ServiceCallback<void>)

function addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: HttpRequestBody, frameMetadata: string, options: ReviewsAddVideoFrameStreamOptionalParams, callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

frameImageZip
HttpRequestBody

包含帧图像的 Zip 文件。

frameMetadata

string

帧的元数据。

callback

ServiceCallback<void>

回调

addVideoFrameStream(string, string, string, HttpRequestBody, string, ServiceCallback<void>)

function addVideoFrameStream(contentType: string, teamName: string, reviewId: string, frameImageZip: HttpRequestBody, frameMetadata: string, callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

frameImageZip
HttpRequestBody

包含帧图像的 Zip 文件。

frameMetadata

string

帧的元数据。

callback

ServiceCallback<void>

回调

addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ReviewsAddVideoFrameUrlOptionalParams)

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

function addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: VideoFrameBodyItem[], options?: ReviewsAddVideoFrameUrlOptionalParams): Promise<RestResponse>

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

videoFrameBody

VideoFrameBodyItem[]

用于添加视频帧 API 的正文

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ReviewsAddVideoFrameUrlOptionalParams, ServiceCallback<void>)

function addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: VideoFrameBodyItem[], options: ReviewsAddVideoFrameUrlOptionalParams, callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

videoFrameBody

VideoFrameBodyItem[]

用于添加视频帧 API 的正文

callback

ServiceCallback<void>

回调

addVideoFrameUrl(string, string, string, VideoFrameBodyItem[], ServiceCallback<void>)

function addVideoFrameUrl(contentType: string, teamName: string, reviewId: string, videoFrameBody: VideoFrameBodyItem[], callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

videoFrameBody

VideoFrameBodyItem[]

用于添加视频帧 API 的正文

callback

ServiceCallback<void>

回调

addVideoTranscript(string, string, HttpRequestBody, RequestOptionsBase)

此 API 将脚本文件(视频中讲述的所有单词的文本版本)添加到视频评审。 文件应采用有效的 WebVTT 格式。

function addVideoTranscript(teamName: string, reviewId: string, vTTfile: HttpRequestBody, options?: RequestOptionsBase): Promise<RestResponse>

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

vTTfile
HttpRequestBody

视频的脚本文件。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

addVideoTranscript(string, string, HttpRequestBody, RequestOptionsBase, ServiceCallback<void>)

function addVideoTranscript(teamName: string, reviewId: string, vTTfile: HttpRequestBody, options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

vTTfile
HttpRequestBody

视频的脚本文件。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

addVideoTranscript(string, string, HttpRequestBody, ServiceCallback<void>)

function addVideoTranscript(teamName: string, reviewId: string, vTTfile: HttpRequestBody, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

vTTfile
HttpRequestBody

视频的脚本文件。

callback

ServiceCallback<void>

回调

addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], RequestOptionsBase)

此 API 为视频评审添加脚本筛选文本结果文件。 脚本筛选文本结果文件是“筛选文本”API 的结果。 若要生成脚本筛选文本结果文件,必须使用“筛选文本”API 来筛选脚本文件中的猥琐内容。

function addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: TranscriptModerationBodyItem[], options?: RequestOptionsBase): Promise<RestResponse>

参数

contentType

string

内容类型。

teamName

string

团队名称。

reviewId

string

评审的 ID。

transcriptModerationBody

TranscriptModerationBodyItem[]

用于添加视频脚本审查结果 API 的正文

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], RequestOptionsBase, ServiceCallback<void>)

function addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: TranscriptModerationBodyItem[], options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

团队名称。

reviewId

string

评审的 ID。

transcriptModerationBody

TranscriptModerationBodyItem[]

用于添加视频脚本审查结果 API 的正文

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

addVideoTranscriptModerationResult(string, string, string, TranscriptModerationBodyItem[], ServiceCallback<void>)

function addVideoTranscriptModerationResult(contentType: string, teamName: string, reviewId: string, transcriptModerationBody: TranscriptModerationBodyItem[], callback: ServiceCallback<void>)

参数

contentType

string

内容类型。

teamName

string

团队名称。

reviewId

string

评审的 ID。

transcriptModerationBody

TranscriptModerationBodyItem[]

用于添加视频脚本审查结果 API 的正文

callback

ServiceCallback<void>

回调

createJob(string, ContentType, string, string, JobContentType, Content, ReviewsCreateJobOptionalParams)

将为此终结点上发布的内容返回作业 ID。

根据工作流评估内容后,将基于工作流表达式创建或忽略评审。

CallBack 架构

作业完成回叫示例


{
“JobId”: “,
“ReviewId”:“<审阅 ID,如果作业导致创建>审阅”,
“WorkFlowId”: “default”,
“Status”: “<this will be one of Complete, InProgress, Error>”,
“ContentType”: “Image”,
“ContentId”: “”,
“CallBackType”: “Job”,
“Metadata”: {
“adultscore”: “0.xxx”,
“a”: “False”,
“racyscore”: “0.xxx”,
“r”: “True”
}
}

查看完成调用回拨示例


{ “ReviewId”: “”,
“ModifiedOn”: “2016-10-11T22:36:32.9934851Z”,
“ModifiedBy”: “”,
“CallBackType”: “Review”,
“ContentId”: “”,
“Metadata”: {
“adultscore”: “0.xxx”, “a”: “False”,
“racyscore”: “0.xxx”,
“r”: “True”
},
“ReviewerResultTags”: {
“a”: “False”,
“r”: “True”
}
}

.
function createJob(teamName: string, contentType: ContentType, contentId: string, workflowName: string, jobContentType: JobContentType, content: Content, options?: ReviewsCreateJobOptionalParams): Promise<ReviewsCreateJobResponse>

参数

teamName

string

团队名称。

contentType
ContentType

图像、文本或视频。 可能的值包括:“Image”、“Text”、“Video”

contentId

string

用于标识已提交内容的 ID/名称。

workflowName

string

要调用的工作流名称。

jobContentType
JobContentType

内容类型。 可能的值包括:“application/json”、“image/jpeg”

content
Content

要评估的内容。

options
ReviewsCreateJobOptionalParams

可选参数

返回

Promise<Models.ReviewsCreateJobResponse>

createJob(string, ContentType, string, string, JobContentType, Content, ReviewsCreateJobOptionalParams, ServiceCallback<JobId>)

function createJob(teamName: string, contentType: ContentType, contentId: string, workflowName: string, jobContentType: JobContentType, content: Content, options: ReviewsCreateJobOptionalParams, callback: ServiceCallback<JobId>)

参数

teamName

string

团队名称。

contentType
ContentType

图像、文本或视频。 可能的值包括:“Image”、“Text”、“Video”

contentId

string

用于标识已提交内容的 ID/名称。

workflowName

string

要调用的工作流名称。

jobContentType
JobContentType

内容类型。 可能的值包括:“application/json”、“image/jpeg”

content
Content

要评估的内容。

options
ReviewsCreateJobOptionalParams

可选参数

callback

ServiceCallback<JobId>

回调

createJob(string, ContentType, string, string, JobContentType, Content, ServiceCallback<JobId>)

function createJob(teamName: string, contentType: ContentType, contentId: string, workflowName: string, jobContentType: JobContentType, content: Content, callback: ServiceCallback<JobId>)

参数

teamName

string

团队名称。

contentType
ContentType

图像、文本或视频。 可能的值包括:“Image”、“Text”、“Video”

contentId

string

用于标识已提交内容的 ID/名称。

workflowName

string

要调用的工作流名称。

jobContentType
JobContentType

内容类型。 可能的值包括:“application/json”、“image/jpeg”

content
Content

要评估的内容。

callback

ServiceCallback<JobId>

回调

createReviews(string, string, CreateReviewBodyItem[], ReviewsCreateReviewsOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
function createReviews(urlContentType: string, teamName: string, createReviewBody: CreateReviewBodyItem[], options?: ReviewsCreateReviewsOptionalParams): Promise<ReviewsCreateReviewsResponse>

参数

urlContentType

string

内容类型。

teamName

string

团队名称。

createReviewBody

CreateReviewBodyItem[]

用于创建评论 API 的正文

options
ReviewsCreateReviewsOptionalParams

可选参数

返回

Promise<Models.ReviewsCreateReviewsResponse>

createReviews(string, string, CreateReviewBodyItem[], ReviewsCreateReviewsOptionalParams, ServiceCallback<string[]>)

function createReviews(urlContentType: string, teamName: string, createReviewBody: CreateReviewBodyItem[], options: ReviewsCreateReviewsOptionalParams, callback: ServiceCallback<string[]>)

参数

urlContentType

string

内容类型。

teamName

string

团队名称。

createReviewBody

CreateReviewBodyItem[]

用于创建评论 API 的正文

options
ReviewsCreateReviewsOptionalParams

可选参数

callback

ServiceCallback<string[]>

回调

createReviews(string, string, CreateReviewBodyItem[], ServiceCallback<string[]>)

function createReviews(urlContentType: string, teamName: string, createReviewBody: CreateReviewBodyItem[], callback: ServiceCallback<string[]>)

参数

urlContentType

string

内容类型。

teamName

string

团队名称。

createReviewBody

CreateReviewBodyItem[]

用于创建评论 API 的正文

callback

ServiceCallback<string[]>

回调

createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ReviewsCreateVideoReviewsOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
function createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: CreateVideoReviewsBodyItem[], options?: ReviewsCreateVideoReviewsOptionalParams): Promise<ReviewsCreateVideoReviewsResponse>

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

createVideoReviewsBody

CreateVideoReviewsBodyItem[]

创建评审 API 的正文

返回

Promise<Models.ReviewsCreateVideoReviewsResponse>

createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ReviewsCreateVideoReviewsOptionalParams, ServiceCallback<string[]>)

function createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: CreateVideoReviewsBodyItem[], options: ReviewsCreateVideoReviewsOptionalParams, callback: ServiceCallback<string[]>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

createVideoReviewsBody

CreateVideoReviewsBodyItem[]

创建评审 API 的正文

callback

ServiceCallback<string[]>

回调

createVideoReviews(string, string, CreateVideoReviewsBodyItem[], ServiceCallback<string[]>)

function createVideoReviews(contentType: string, teamName: string, createVideoReviewsBody: CreateVideoReviewsBodyItem[], callback: ServiceCallback<string[]>)

参数

contentType

string

内容类型。

teamName

string

你的团队名称。

createVideoReviewsBody

CreateVideoReviewsBodyItem[]

创建评审 API 的正文

callback

ServiceCallback<string[]>

回调

getJobDetails(string, string, RequestOptionsBase)

获取作业 ID 的作业详细信息。

function getJobDetails(teamName: string, jobId: string, options?: RequestOptionsBase): Promise<ReviewsGetJobDetailsResponse>

参数

teamName

string

你的团队名称。

jobId

string

作业的 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ReviewsGetJobDetailsResponse>

getJobDetails(string, string, RequestOptionsBase, ServiceCallback<Job>)

function getJobDetails(teamName: string, jobId: string, options: RequestOptionsBase, callback: ServiceCallback<Job>)

参数

teamName

string

你的团队名称。

jobId

string

作业的 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Job>

回调

getJobDetails(string, string, ServiceCallback<Job>)

function getJobDetails(teamName: string, jobId: string, callback: ServiceCallback<Job>)

参数

teamName

string

你的团队名称。

jobId

string

作业的 ID。

callback

ServiceCallback<Job>

回调

getReview(string, string, RequestOptionsBase)

返回传递的评审 ID 的评审详细信息。

function getReview(teamName: string, reviewId: string, options?: RequestOptionsBase): Promise<ReviewsGetReviewResponse>

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ReviewsGetReviewResponse>

getReview(string, string, RequestOptionsBase, ServiceCallback<Review>)

function getReview(teamName: string, reviewId: string, options: RequestOptionsBase, callback: ServiceCallback<Review>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<Review>

回调

getReview(string, string, ServiceCallback<Review>)

function getReview(teamName: string, reviewId: string, callback: ServiceCallback<Review>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

callback

ServiceCallback<Review>

回调

getVideoFrames(string, string, ReviewsGetVideoFramesOptionalParams)

将为团队中的评审者显示创建的评审。 评审者完成评审后,将在指定的 CallBackEndpoint 上发布评审结果(即 HTTP POST)。

CallBack 架构

查看完成调用回拨示例

{
“ReviewId”:

.
function getVideoFrames(teamName: string, reviewId: string, options?: ReviewsGetVideoFramesOptionalParams): Promise<ReviewsGetVideoFramesResponse>

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

返回

Promise<Models.ReviewsGetVideoFramesResponse>

getVideoFrames(string, string, ReviewsGetVideoFramesOptionalParams, ServiceCallback<Frames>)

function getVideoFrames(teamName: string, reviewId: string, options: ReviewsGetVideoFramesOptionalParams, callback: ServiceCallback<Frames>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

callback

ServiceCallback<Frames>

回调

getVideoFrames(string, string, ServiceCallback<Frames>)

function getVideoFrames(teamName: string, reviewId: string, callback: ServiceCallback<Frames>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

callback

ServiceCallback<Frames>

回调

publishVideoReview(string, string, RequestOptionsBase)

发布视频评论,使其可供审阅。

function publishVideoReview(teamName: string, reviewId: string, options?: RequestOptionsBase): Promise<RestResponse>

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
RequestOptionsBase

可选参数

返回

Promise<RestResponse>

Promise<msRest.RestResponse>

publishVideoReview(string, string, RequestOptionsBase, ServiceCallback<void>)

function publishVideoReview(teamName: string, reviewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<void>

回调

publishVideoReview(string, string, ServiceCallback<void>)

function publishVideoReview(teamName: string, reviewId: string, callback: ServiceCallback<void>)

参数

teamName

string

你的团队名称。

reviewId

string

评审的 ID。

callback

ServiceCallback<void>

回调