Skip to main content
Member of ML.SDK.MLStreamingBrowser
Method

void MLStreamingBrowser.TrySetVideoPlayState(bool isPlaying, Action<[bool](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.5)> callback_result = null)

 void MLStreamingBrowser.TrySetVideoPlayState(bool isPlaying, Action`<bool>` callback_result = null);

Parameters

ParameterTypeDescription
isPlayingboolNew video playback state
callback_resultAction<[bool](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.5)>Callback function

Returns

void

Summary

Set video playback state. Optionally, a callback function can be provided to be called when the action completed in the browser.