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