Files
phonegap-plugins/iOS/ExternalScreen/plugin/ExternalScreen.js
Andrew Trice 90ab3140c2 updated ExternalScreen plugin for Cordova naming conventions, updated multi-screen fleet manager demo, moved PGLowLatencyAudio samples to the iOS directory
Updated ExternalScreen plugin for Cordova naming conventions - works
with PhoneGap 2.0

Updated multi-screen fleet manager demo - uses updated ExternalScreen
plugin, uses Leaflet instead of google maps (better animation, no api
key dependency)

Moved PGLowLatencyAudio samples to the iOS directory
2012-08-13 11:09:47 -04:00

24 lines
873 B
JavaScript

var PGExternalScreen = {
setupScreenConnectionNotificationHandlers: function (success, fail) {
return cordova.exec(success, fail, "PGExternalScreen", "setupScreenConnectionNotificationHandlers", []);
},
loadHTMLResource: function (url, success, fail) {
return cordova.exec(success, fail, "PGExternalScreen", "loadHTMLResource", [url]);
},
loadHTML: function (url, success, fail) {
return cordova.exec(success, fail, "PGExternalScreen", "loadHTML", [url]);
},
invokeJavaScript: function (scriptString, success, fail) {
return cordova.exec(success, fail, "PGExternalScreen", "invokeJavaScript", [scriptString]);
},
checkExternalScreenAvailable: function (success, fail) {
return cordova.exec(success, fail, "PGExternalScreen", "checkExternalScreenAvailable", []);
}
};