MLStreamingBrowser
info
MLStreamingBrowser inherits from Component
API interface to MLStreamingBrowser.
Members
Properties
Name | Description |
---|---|
MLStreamingBrowser .IsReady | Is the browser fully initialized? |
MLStreamingBrowser .IsURLStatic | Can the browser URL set in runtime? |
MLStreamingBrowser .URL | Current browser URL |
Methods
Name | Description |
---|---|
MLStreamingBrowser .IsVideoPresent(callback_result) | Queries the browser to check if a video present in the current page. A callback function is required. |
MLStreamingBrowser .PassInput(key, isDown) | Pass input keyboard input to the browser. Useful for creating interface to a online game, or tool that currently loaded by browser. |
MLStreamingBrowser .TryGettingVideoPlayState(callback_result) | Queries the video playback state in current browser page. A callback function is required. |
MLStreamingBrowser .TryGoingBack() | Have the browser to return to previous page |
MLStreamingBrowser .TryGoingForward() | Have the browser to load next page. |
MLStreamingBrowser .TryLoadHome() | Have the browser load home page. |
MLStreamingBrowser .TryRefresh() | Have the browser to refresh. |
MLStreamingBrowser .TrySetVideoPlayState(isPlaying, callback_result=Nil) | Set video playback state. Optionally, a callback function can be provided to be called when the action completed in the browser. |
MLStreamingBrowser .TrySpawnRemote() | Spawn browser remote. |
MLStreamingBrowser .TryTogglingMuteOrUnmute() | Mute or un-mute browser audio. |
MLStreamingBrowser .TryZoomIn() | Zoom in |
MLStreamingBrowser .TryZoomOut() | Zoom out |
MLStreamingBrowser .TryZoomToDefault() | Set zoom to default value |
Inherited Members
Inherited Properties
Name | Description |
---|---|
MLStreamingBrowser .gameObject | The game object this component is attached to. A component is always attached to a game object. |
MLStreamingBrowser .tag | The tag of this game object. |
MLStreamingBrowser .transform | The Transform attached to this GameObject. |
MLStreamingBrowser .hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
MLStreamingBrowser .name | The name of the object. |
Inherited Methods
Name | Description |
---|---|
MLStreamingBrowser .BroadcastMessage(methodName, parameter=nil) | Calls the method named methodName on every Lua Script in this game object or any of its children. |
MLStreamingBrowser .CompareTag(tag) | Is this game object tagged with tag ? |
MLStreamingBrowser .GetAllLuaScripts() | Returns an array of all Lua scripts that attached to the game object. |
MLStreamingBrowser .GetComponent(type) | Returns the component of Type type if the game object has one attached, nil if it doesn't. |
MLStreamingBrowser .GetComponentInChildren(t) | Returns the component of Type type in the GameObject or any of its children using depth first search. |
MLStreamingBrowser .GetComponentInParent(t) | Returns the component of Type type in the GameObject or any of its parents. |
MLStreamingBrowser .GetComponents(type) | Returns all components of Type type in the GameObject. |
MLStreamingBrowser .GetComponentsInChildren(t) | Returns all components of Type type in the GameObject or any of its children. |
MLStreamingBrowser .GetComponentsInParent(t) | Returns all components of Type type in the GameObject or any of its parents. |
MLStreamingBrowser .SendMessage(methodName, value=nil) | Calls the method named methodName on every Lua Script in this game object. |
MLStreamingBrowser .SendMessageUpwards(methodName, value=nil) | Calls the method named methodName on every LuaScript in this game object and on every ancestor of the behaviour. |
MLStreamingBrowser .TryGetComponent(type) | Gets the component of the specified type, if it exists. |
MLStreamingBrowser .GetInstanceID() | Returns the instance id of the object. |