C# Class Microsoft.ProjectOxford.Video.VideoServiceClient

The video service client.
Inheritance: IVideoServiceClient
Mostra file Open project: Microsoft/ProjectOxford-ClientSDK Class Usage Examples

Public Methods

Method Description
CreateOperationAsync ( Stream video, VideoOperationSettings videoOperationSettings ) : Task

Create video operation.

CreateOperationAsync ( byte video, VideoOperationSettings videoOperationSettings ) : Task

Create video operation.

CreateOperationAsync ( string videoUrl, VideoOperationSettings videoOperationSettings ) : Task

Create video operation.

GetOperationResultAsync ( Microsoft.ProjectOxford.Video.Contract.Operation operation ) : Task

Get video operation result.

GetResultVideoAsync ( string url ) : Task

Get result video.

VideoServiceClient ( string subscriptionKey ) : System

Initializes a new instance of the VideoServiceClient class.

Private Methods

Method Description
CreateOperationAsync ( Stream video, OperationType operationType ) : Task
CreateOperationAsync ( byte video, OperationType operationType ) : Task
CreateOperationAsync ( string videoUrl, OperationType operationType ) : Task
CreateOperationAsyncInternal ( object video, VideoOperationSettings videoOperationSettings ) : Task
SendRequestAsync ( HttpMethod httpMethod, string requestUrl, object requestBody ) : Task

Sends the request asynchronous.

Method Details

CreateOperationAsync() public method

Create video operation.
public CreateOperationAsync ( Stream video, VideoOperationSettings videoOperationSettings ) : Task
video System.IO.Stream Video stream.
videoOperationSettings Microsoft.ProjectOxford.Video.Contract.VideoOperationSettings Settings of operation.
return Task

CreateOperationAsync() public method

Create video operation.
public CreateOperationAsync ( byte video, VideoOperationSettings videoOperationSettings ) : Task
video byte Video byte array.
videoOperationSettings Microsoft.ProjectOxford.Video.Contract.VideoOperationSettings Settings of operation.
return Task

CreateOperationAsync() public method

Create video operation.
public CreateOperationAsync ( string videoUrl, VideoOperationSettings videoOperationSettings ) : Task
videoUrl string Video url.
videoOperationSettings Microsoft.ProjectOxford.Video.Contract.VideoOperationSettings Settings of operation.
return Task

GetOperationResultAsync() public method

Get video operation result.
public GetOperationResultAsync ( Microsoft.ProjectOxford.Video.Contract.Operation operation ) : Task
operation Microsoft.ProjectOxford.Video.Contract.Operation The operation.
return Task

GetResultVideoAsync() public method

Get result video.
public GetResultVideoAsync ( string url ) : Task
url string The result video content url.
return Task

VideoServiceClient() public method

Initializes a new instance of the VideoServiceClient class.
public VideoServiceClient ( string subscriptionKey ) : System
subscriptionKey string The subscription key.
return System