智能客服
你问我答,随时在线为你解决问题

























您当前正在浏览HarmonyOS开发者3.0版本配套的开发者文档,对应API能力级别为API 8 Release。此版本文档已归档不再维护,推荐您使用HarmonyOS NEXT版本。
收起 自动换行 深色代码主题 复制 |
The callback is passed as a parameter when creating a timer using OneShotTimer#getTimer(Context, ITimerListener), and is invoked when the timer goes off.
Since:
1Modifier and Type | Method | Description |
|---|---|---|
void | onTrigger() | Called when the timer goes off. |
void onTrigger()
Called when the timer goes off.Since:
1
智能客服
你问我答,随时在线为你解决问题
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功