public static Thumbnail ( this operations, double maxMotionThumbnailDurationInSecs = default(double?), bool outputAudio = default(bool?), bool fadeInFadeOut = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void | ||
operations | this | /// The operations group for this extension method. /// |
maxMotionThumbnailDurationInSecs | double | /// Specifies maximum duration of output video (in seconds). The default value /// is 0, which indicates the duration will be automatically decided by the /// algorithm. /// |
outputAudio | bool | /// Indicates whether output video should include audio track. The default /// value is true. /// |
fadeInFadeOut | bool | /// Indicates whether output video should have fade in/out effect during scene /// changes. The default value is true. /// |
subscriptionKey | string | /// subscription key in url /// |
ocpApimSubscriptionKey | string | /// subscription key in header /// |
return | void |
public static void Thumbnail(this IVideoAPI operations, double? maxMotionThumbnailDurationInSecs = default(double?), bool? outputAudio = default(bool?), bool? fadeInFadeOut = default(bool?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
{
System.Threading.Tasks.Task.Factory.StartNew(s => ((IVideoAPI)s).ThumbnailAsync(maxMotionThumbnailDurationInSecs, outputAudio, fadeInFadeOut, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
}