sound-menu.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/sbProperties.jsm")
 
 catch (error)
 
 if (typeof UnityIntegration== 'undefined')
 
window addEventListener ("load", function(e){UnityIntegration.soundMenu.onLoad();}, false)
 

Variables

 try
 
const UNITY_PLAYBACK_STATE_PAUSED = 0
 
const UNITY_PLAYBACK_STATE_PLAYING = 1
 
const UNITY_PLAYBACK_STATE_STOPED = -1
 
UnityIntegration soundMenu
 

Function Documentation

window addEventListener ( "load"  ,
function(e){UnityIntegration.soundMenu.onLoad();}  ,
false   
)
catch (   error)

Definition at line 6 of file sound-menu.js.

if ( typeof  UnityIntegration = = 'undefined')

Definition at line 12 of file sound-menu.js.

Components utils import ( "resource://app/jsmodules/sbProperties.jsm"  )

Variable Documentation

UnityIntegration soundMenu

Definition at line 16 of file sound-menu.js.

try
Initial value:
{
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm")

Definition at line 1 of file sound-menu.js.

const UNITY_PLAYBACK_STATE_PAUSED = 0

Definition at line 8 of file sound-menu.js.

const UNITY_PLAYBACK_STATE_PLAYING = 1

Definition at line 9 of file sound-menu.js.

const UNITY_PLAYBACK_STATE_STOPED = -1

Definition at line 10 of file sound-menu.js.