1 Star 0 Fork 5.3K

笛荡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ohos-abilityeventhandler.md 4.05 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

OHOS::AbilityEventHandler

Overview

Related Modules:

AbilityKit

Description:

Declares functions for performing operations during inter-thread communication, including running and quitting the event loop of the current thread and posting tasks to an asynchronous thread.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

Run ()

void

Starts running the event loop of the current thread.

PostTask (const Task &task)

void

Posts a task to an asynchronous thread.

PostQuit ()

void

Quits the event loop of the current thread.

Static Public Member Functions

Static Public Member Function Name

Description

GetCurrentHandler ()

static AbilityEventHandler *

Obtains the event handler of the current thread.

1
https://gitee.com/SolarBird/docs.git
git@gitee.com:SolarBird/docs.git
SolarBird
docs
docs
master

搜索帮助