You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This acquires a partial wakelock, allowing the screen to be dimmed.
32
+
*/
33
+
@Cordova()
34
+
staticdim(): Promise<any>{return;}
35
+
36
+
/**
37
+
* Release the wakelock. It's important to do this when you're finished with the wakelock, to avoid unnecessary battery drain.
38
+
*/
39
+
@Cordova()
40
+
staticrelease(): Promise<any>{return;}
41
+
42
+
/**
43
+
* By default, the plugin will automatically release a wakelock when your app is paused (e.g. when the screen is turned off, or the user switches to another app).
44
+
* It will reacquire the wakelock upon app resume. If you would prefer to disable this behaviour, you can use this function.
0 commit comments