UNPKG
hybrid_plus
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Hybrid Flutter Javascript SDK
hybrid_plus
/
lib
/
device
/
screen.d.ts
8 lines
(7 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * 切换屏幕常亮 *
@description
需要设备具备指纹或者FACE_ID解锁功能,解锁后触发回调,适用于对安全性要求较高的操作。 *
@params
{
boolean
}
enable
*
@module
device
*/
export
default
function
toggleKeepScreenOn
(
enable: boolean
):
void
;