1 Star 0 Fork 5.1K

hzcc / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
OHOS-AbilityEventHandler.md 4.07 KB
Copy Edit Raw Blame History
wenjun authored 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/hwang_zc/docs.git
git@gitee.com:hwang_zc/docs.git
hwang_zc
docs
docs
master

Search