【文件属性】:
文件名称:cordova-plugin-apputils:适用于Apache Cordova的AppUtils插件> = 3.0.0
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-26 00:04:31
Objective-C
科尔多瓦插件apputils
适用于Apache Cordova的Cordova AppUtils插件> = 3.0.0
安装
cordova plugin add https://github.com/mindstorm/cordova-plugin-apputils.git
实用程序
空闲计时器
启用/禁用设备睡眠模式。
// Enable the IdleTimer
apputils.IdleTimer.enable(onSuccess, onError);
/*
onSuccess:
"OK"
onError:
{ code: 1, reason: "IdleTimer already enabled." }
*/
// Disable the IdleTimer
apputils.IdleTimer.disable(onSuccess, on
【文件预览】:
cordova-plugin-apputils-master
----.gitignore(9B)
----README.md(2KB)
----LICENSE(1KB)
----src()
--------ios()
----www()
--------apputils.js(2KB)
----plugin.xml(857B)
网友评论
相关文章
- cordova-plugin-jailbreak-detection:适用于Apache Cordova的Cordova PhoneGap越狱检测插件> = 3.0.0
- cordova-plugin-date-input:适用于 Apache Cordova >= 3.0.0 的 Cordova PhoneGap 日期输入插件
- cordova-plugin-background-task:适用于Apache Cordova的Cordova PhoneGap后台任务插件> = 3.0.0
- cordova-plugin-boot-launcher:适用于Apache Cordova的Cordova PhoneGap引导启动器插件> = 3.0.0