Skip to main content
namespace ML.SDK
Class

MLStreamingBrowser


namespace ML.SDK
{
class MLStreamingBrowser
}

Inherits from MonoBehaviour

Summary

MLStramingBrowser component

Properties

PropertyDesciption
IsReadyIs the browser fully initialized?
IsURLStaticCan the browser URL set in runtime?
URLCurrent browser URL

Methods

MethodDescription
PassInput(string, bool)Pass input keyboard input to the browser. Useful for creating interface to a online game, or tool that currently loaded by browser.
TryGoingBack()Have the browser to return to previous page
TryGoingForward()Have the browser to load next page.
TryLoadHome()Have the browser load home page.
TryRefresh()Have the browser to refresh.
TrySpawnRemote()Spawn browser remote.
TryZoomIn()Zoom in
TryZoomOut()Zoom out
TryZoomToDefault()Set zoom to default value
TryTogglingMuteOrUnmute()Mute or un-mute browser audio.
TrySetVideoPlayState(bool, Action<bool>)Set video playback state. Optionally, a callback function can be provided to be called when the action completed in the browser.
TryGettingVideoPlayState(Action<bool>)Queries the video playback state in current browser page. A callback function is required.
IsVideoPresent(Action<bool>)Queries the browser to check if a video present in the current page. A callback function is required.
SetTargetURL(string)Sets a URL for browser to go.