added new JS bridge method

This commit is contained in:
Brian Smith 2014-03-05 02:14:02 -05:00
parent 1e7352712a
commit f96019ba69
1 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,11 @@
dbg("OpenSystemBrowser('" + href + "')");
context.window.open(href);
}
function RestartApplication() {
}
function FTUEGetInputLatency() {
dbg("FTUEGetInputLatency");
return 2;
@ -148,6 +153,10 @@
return ['a'];
}
function FTUEGetConfigurationDevice() {
return 'Good Device';
}
function RegisterVolChangeCallBack(functionName) {
dbg('RegisterVolChangeCallBack');
}
@ -674,6 +683,7 @@
this.FTUEGetGoodConfigurationList = FTUEGetGoodConfigurationList;
this.FTUEGetAllAudioConfigurations = FTUEGetAllAudioConfigurations;
this.FTUEGetGoodAudioConfigurations = FTUEGetGoodAudioConfigurations;
this.FTUEGetConfigurationDevice = FTUEGetConfigurationDevice;
// Session
this.SessionAddTrack = SessionAddTrack;
@ -733,6 +743,7 @@
this.ClientUpdateStartUpdate = ClientUpdateStartUpdate;
this.OpenSystemBrowser = OpenSystemBrowser;
this.RestartApplication = RestartApplication;
// Websocket/Auth sessions
this.OnLoggedIn = OnLoggedIn;