mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
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:
parent
64b0c26196
commit
84006258a3
3
api/@ohos.application.appManager.d.ts
vendored
3
api/@ohos.application.appManager.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user