C# Класс BuildIt.CognitiveServices.VideoSearchAPIV5Extensions

Extension methods for VideoSearchAPIV5.
Показать файл Открыть проект

Открытые методы

Метод Описание
Details ( this operations, string id = default(string), string modulesRequested = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Get currently trending videos.

DetailsAsync ( this operations, string id = default(string), string modulesRequested = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Get currently trending videos.

Search ( this operations, double count = 10, double offset, string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Get videos relevant for a given query.

SearchAsync ( this operations, double count = 10, double offset, string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Get videos relevant for a given query.

Trending ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void

Get currently trending videos.

TrendingAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

Get currently trending videos.

Описание методов

Details() публичный статический Метод

Get currently trending videos.
public static Details ( this operations, string id = default(string), string modulesRequested = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
id string /// An ID that uniquely identifies a video. The Video object's videoId field /// contains the ID that you set this parameter to. ///
modulesRequested string /// A comma-delimited list of one or more insights to request. Possible values /// include: 'All', 'RelatedVideos', 'VideoResult' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void

DetailsAsync() публичный статический Метод

Get currently trending videos.
public static DetailsAsync ( this operations, string id = default(string), string modulesRequested = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
id string /// An ID that uniquely identifies a video. The Video object's videoId field /// contains the ID that you set this parameter to. ///
modulesRequested string /// A comma-delimited list of one or more insights to request. Possible values /// include: 'All', 'RelatedVideos', 'VideoResult' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

Search() публичный статический Метод

Get videos relevant for a given query.
public static Search ( this operations, double count = 10, double offset, string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
count double /// The number of video results to return in the response. The actual number /// delivered may be less than requested. ///
offset double /// The zero-based offset that indicates the number of video results to skip /// before returning results. ///
mkt string /// The market where the results come from. Typically, this is the country /// where the user is making the request from; however, it could be a /// different country if the user is not located in a country where Bing /// delivers results. The market must be in the form {language code}-{country /// code}. For example, en-US. /// /// <br> /// <br> /// Full list of supported markets: /// <br> /// es-AR,en-AU,de-AT,nl-BE,fr-BE,pt-BR,en-CA,fr-CA,es-CL,da-DK,fi-FI,fr-FR,de-DE,zh-HK,en-IN,en-ID,en-IE,it-IT,ja-JP,ko-KR,en-MY,es-MX,nl-NL,en-NZ,no-NO,zh-CN,pl-PL,pt-PT,en-PH,ru-RU,ar-SA,en-ZA,es-ES,sv-SE,fr-CH,de-CH,zh-TW,tr-TR,en-GB,en-US,es-US. /// Possible values include: 'en-us' ///
safeSearch string /// A filter used to filter results for adult content. Possible values /// include: 'Off', 'Moderate', 'Strict' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void

SearchAsync() публичный статический Метод

Get videos relevant for a given query.
public static SearchAsync ( this operations, double count = 10, double offset, string mkt = "en-us", string safeSearch = "Moderate", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
count double /// The number of video results to return in the response. The actual number /// delivered may be less than requested. ///
offset double /// The zero-based offset that indicates the number of video results to skip /// before returning results. ///
mkt string /// The market where the results come from. Typically, this is the country /// where the user is making the request from; however, it could be a /// different country if the user is not located in a country where Bing /// delivers results. The market must be in the form {language code}-{country /// code}. For example, en-US. /// /// <br> /// <br> /// Full list of supported markets: /// <br> /// es-AR,en-AU,de-AT,nl-BE,fr-BE,pt-BR,en-CA,fr-CA,es-CL,da-DK,fi-FI,fr-FR,de-DE,zh-HK,en-IN,en-ID,en-IE,it-IT,ja-JP,ko-KR,en-MY,es-MX,nl-NL,en-NZ,no-NO,zh-CN,pl-PL,pt-PT,en-PH,ru-RU,ar-SA,en-ZA,es-ES,sv-SE,fr-CH,de-CH,zh-TW,tr-TR,en-GB,en-US,es-US. /// Possible values include: 'en-us' ///
safeSearch string /// A filter used to filter results for adult content. Possible values /// include: 'Off', 'Moderate', 'Strict' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

Trending() публичный статический Метод

Get currently trending videos.
public static Trending ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void

TrendingAsync() публичный статический Метод

Get currently trending videos.
public static TrendingAsync ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task