harmony 鸿蒙软总线子系统ChangeLog

  • 2023-02-17
  • 浏览 (900)

软总线子系统ChangeLog

cl.softbus.1 IPC接口中unregisterDeathRecipient接口返回值变更,更改为void。

unregisterDeathRecipient(recipient: DeathRecipient, flags: number)方法返回值为boolean,更正为void。

变更影响

该unregisterDeathRecipient接口如果需要继续使用,建议优先使用removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean方法。

关键的接口/组件变更

  • 变更前:
    unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean
  • 变更后:
    unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void

适配指导

该unregisterDeathRecipient接口如果需要继续使用,建议优先使用removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean方法。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙程序访问控制子系统ChangeLog

harmony 鸿蒙security子系统ChangeLog

harmony 鸿蒙web子系统ChangeLog

harmony 鸿蒙arkui子系统ChangeLog

harmony 鸿蒙包管理子系统ChangeLog

harmony 鸿蒙文件管理子系统ChangeLog

harmony 鸿蒙电源子系统ChangeLog

harmony 鸿蒙泛sensor子系统ChangeLog

harmony 鸿蒙启动子系统JS API变更ChangeLog

0  赞