Member of ML.SDK.MLStreamingBrowser
void MLStreamingBrowser.TrySetVideoPlayState(bool isPlaying, Action
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
Parameter | Type | Description |
---|---|---|
isPlaying | bool | New video playback state |
callback_result | Action<[bool](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.5)> | Callback function |
Returns
Summary
Set video playback state. Optionally, a callback function can be provided to be called when the action completed in the browser.