harmony(鸿蒙)Native API Differences

  • 2022-10-28
  • 浏览 (536)

Native API Differences

The table below lists the native APIs changes in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1.

Standard System API Changes

Module API Change Type Change Description
Bundle Management - BundleFramework OH_NativeBundle_ApplicationInfo OH_NativeBundle_GetCurrentApplicationInfo() Added Added the APIs for obtaining the bundle name and fingerprint information of the current application.
Graphics - NativeWindow int32_t OH_NativeWindow_NativeWindowSetScalingMode(OHNativeWindow *window, uint32_t sequence, OHScalingMode scalingMode) Added Added the API for setting the scaling mode.
Graphics - NativeWindow int32_t OH_NativeWindow_NativeWindowSetMetaData(OHNativeWindow *window, uint32_t sequence, int32_t size, const OHHDRMetaData *metaData) Added Added the API for setting the HDR metadata.
Graphics - NativeWindow int32_t OH_NativeWindow_NativeWindowSetMetaDataSet(OHNativeWindow *window, uint32_t sequence, OHHDRMetadataKey key, int32_t size, const uint8_t *metaData) Added Added the API for setting the HDR metadata set.
Graphics - NativeWindow int32_t OH_NativeWindow_NativeWindowSetTunnelHandle(OHNativeWindow *window, const OHExtDataHandle *handle) Added Added the API for setting the tunnel handle.

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Adaptation Guide for the Application Sandbox

harmony(鸿蒙)Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)

harmony(鸿蒙)JS API Changes of the Ability Framework

harmony(鸿蒙)JS API Changes of the Accessibility Subsystem

harmony(鸿蒙)JS API Changes of the Account Subsystem

harmony(鸿蒙)JS API Changes of the ArkUI Development Framework

harmony(鸿蒙)JS API Changes of the Bundle Management Framework

harmony(鸿蒙)JS API Changes of the Communication Subsystem

harmony(鸿蒙)JS API Changes of the Utils Subsystem

0  赞