harmony 鸿蒙RunningLockInfo
RunningLockInfo
概述
定义运行锁的信息。
起始版本: 4.0
相关模块:Power
汇总
Public 属性
名称 | 描述 |
---|---|
String name | 运行锁的名称。不能为空 |
enum RunningLockTypetype | 运行锁类型,默认值为RUNNINGLOCK_BACKGROUND_TASK |
int timeoutMs | 运行锁的超时时间,单位毫秒。值小于 0 表示没有超时。默认为3000 |
int pid | 进程ID |
int uid | 用户ID |
类成员变量说明
name
String RunningLockInfo::name
描述
运行锁的名称。不能为空
pid
int RunningLockInfo::pid
描述
进程ID
timeoutMs
int RunningLockInfo::timeoutMs
描述
运行锁的超时时间,单位毫秒。值小于 0 表示没有超时。默认为3000
type
enum RunningLockType RunningLockInfo::type
描述
运行锁类型,默认值为RUNNINGLOCK_BACKGROUND_TASK
uid
int RunningLockInfo::uid
描述
用户ID
你可能感兴趣的鸿蒙文章
harmony 鸿蒙IPowerHdiCallback.idl
harmony 鸿蒙IPowerHdiCallback.idl
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦