IssueNo: #I4TLWZ

Description: fix interface.
Sig: SIG_ApplicationFramework
Feature or Bugfix: Bugfix
Binary Source: No

Signed-off-by: jiangwensai <jiangwensai@huawei.com>
This commit is contained in:
jiangwensai 2022-02-14 16:18:35 +08:00
parent 64b0c26196
commit 84006258a3

View File

@ -36,6 +36,7 @@ declare namespace appManager {
* @since 8
* @SysCap appexecfwk
* @param observer The application state observer.
* @systemapi hide this for inner system use
* @return Returns the number code of the observer.
*/
function registerApplicationStateObserver(observer: ApplicationStateObserver): number;
@ -47,6 +48,7 @@ declare namespace appManager {
* @since 8
* @SysCap appexecfwk
* @param observerId Indicates the number code of the observer.
* @systemapi hide this for inner system use
* @return -
*/
function unregisterApplicationStateObserver(observerId: number, callback: AsyncCallback<void>): void;
@ -58,6 +60,7 @@ declare namespace appManager {
* @devices phone, tablet, tv, wearable, car
* @since 8
* @SysCap appexecfwk
* @systemapi hide this for inner system use
* @return Returns the list of AppStateData.
*/
function getForegroundApplications(callback: AsyncCallback<Array<AppStateData>>): void;