jellyfin-web/dashboard-ui/thirdparty/cordova/android/immersive.js
2015-05-26 11:31:50 -04:00

34 lines
1.1 KiB
JavaScript

(function () {
function onSuccess() {
console.log('Immersive mode succeeded');
}
function onError() {
console.log('Immersive mode failed');
}
//// Is this plugin supported?
//AndroidFullScreen.isSupported();
//// Is immersive mode supported?
//AndroidFullScreen.isImmersiveModeSupported(successFunction, errorFunction);
//// The width of the screen in immersive mode
//AndroidFullScreen.immersiveWidth(trace, errorFunction);
//// The height of the screen in immersive mode
//AndroidFullScreen.immersiveHeight(trace, errorFunction);
//// Hide system UI until user interacts
//AndroidFullScreen.leanMode(successFunction, errorFunction);
//// Show system UI
//AndroidFullScreen.showSystemUI(successFunction, errorFunction);
//// Extend your app underneath the system UI (Android 4.4+ only)
//AndroidFullScreen.showUnderSystemUI(successFunction, errorFunction);
//// Hide system UI and keep it hidden (Android 4.4+ only)
//AndroidFullScreen.immersiveMode(successFunction, errorFunction);
})();