操作 旧版本 新版本 d.ts文件
新增 NA 模块名: ohos.stationary
类名: stationary
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityType
方法 or 属性: type ActivityType = 'still' | 'relativeStill';
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityType
方法 or 属性: type ActivityType = 'still' | 'relativeStill';
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityResponse
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityResponse
方法 or 属性: state: ActivityState;
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityEvent
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityEvent
方法 or 属性: ENTER = 1
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityEvent
方法 or 属性: EXIT = 2
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityEvent
方法 or 属性: ENTER_EXIT = 3
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityState
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityState
方法 or 属性: ENTER = 1
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: ActivityState
方法 or 属性: EXIT = 2
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: stationary
方法 or 属性: function on(activity: ActivityType, event: ActivityEvent, reportLatencyNs: number, callback: Callback<ActivityResponse>): void;
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: stationary
方法 or 属性: function once(activity: ActivityType, callback: Callback<ActivityResponse>): void;
@ohos.stationary.d.ts
新增 NA 模块名: ohos.stationary
类名: stationary
方法 or 属性: function off(activity: ActivityType, event: ActivityEvent, callback?: Callback<ActivityResponse>): void;
@ohos.stationary.d.ts