harmony 鸿蒙js-apidiff-msdp

  • 2023-06-24
  • 浏览 (562)

操作 旧版本 新版本 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<ActivityResponse>): void;
@ohos.stationary.d.ts
新增 NA 类名:stationary;
方法or属性:function once(activity: ActivityType, callback: Callback<ActivityResponse>): void;
@ohos.stationary.d.ts
新增 NA 类名:stationary;
方法or属性:function off(activity: ActivityType, event: ActivityEvent, callback?: Callback<ActivityResponse>): 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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞