diff --git a/AbilityKit/ability_runtime/ability_runtime_common.h b/AbilityKit/ability_runtime/ability_runtime_common.h
index 704d6c80fb98a2a918510be289f3a1c486635144..7c2e98d4a632a7166b813dd3b6b93bd4e73de91b 100644
--- a/AbilityKit/ability_runtime/ability_runtime_common.h
+++ b/AbilityKit/ability_runtime/ability_runtime_common.h
@@ -138,6 +138,11 @@ typedef enum {
* @since 17
*/
ABILITY_RUNTIME_ERROR_CODE_APP_INSTANCE_KEY_NOT_SUPPORTED = 16000079,
+ /**
+ * @error Failed to obtain the target application information.
+ * @since 21
+ */
+ ABILITY_RUNTIME_ERROR_CODE_GET_APPLICATION_INFO_FAILED = 16000081,
} AbilityRuntime_ErrorCode;
#ifdef __cplusplus
diff --git a/BasicServicesKit/commonevent/oh_commonevent.h b/BasicServicesKit/commonevent/oh_commonevent.h
index d3f16a959a7268aa4bfa0d6b10580c5c0be36b15..a5cca763b88a3edaceb57588159d05487dcbe8a6 100644
--- a/BasicServicesKit/commonevent/oh_commonevent.h
+++ b/BasicServicesKit/commonevent/oh_commonevent.h
@@ -227,19 +227,19 @@ CommonEvent_ErrCode OH_CommonEvent_UnSubscribe(const CommonEvent_Subscriber* sub
const char* OH_CommonEvent_GetEventFromRcvData(const CommonEvent_RcvData* rcvData);
/**
- * @brief Get event result code from callback data.
+ * @brief Get event code from callback data.
*
* @param rcvData Indicates the callback data.
- * @return Returns the event of result code, default is 0.
+ * @return Returns the event of code, default is 0.
* @since 12
*/
int32_t OH_CommonEvent_GetCodeFromRcvData(const CommonEvent_RcvData* rcvData);
/**
- * @brief Get event result data from callback data.
+ * @brief Get event data from callback data.
*
* @param rcvData Indicates the callback data.
- * @return Returns the event of result data, default is null.
+ * @return Returns the event of data, default is null.
* @since 12
*/
const char* OH_CommonEvent_GetDataStrFromRcvData(const CommonEvent_RcvData* rcvData);
@@ -628,7 +628,7 @@ CommonEvent_ErrCode OH_CommonEvent_SetDoubleArrayToParameters(CommonEvent_Parame
const double* value, size_t num);
/**
- * @brief Publish a standard commen event.
+ * @brief Publish a commen event.
*
* @param event Indicates the name of the common event.
* @return Returns the error code.
@@ -704,39 +704,39 @@ bool OH_CommonEvent_AbortCommonEvent(CommonEvent_Subscriber* subscriber);
bool OH_CommonEvent_ClearAbortCommonEvent(CommonEvent_Subscriber* subscriber);
/**
- * @brief Get result code from an ordered event by a subscriber.
+ * @brief Get code from an ordered event by a subscriber.
*
* @param subscriber Indicates the subscriber.
- * @return Returns the result code, default is 0.
+ * @return Returns the code, default is 0.
* @since 18
*/
int32_t OH_CommonEvent_GetCodeFromSubscriber(const CommonEvent_Subscriber* subscriber);
/**
- * @brief Set result code to an ordered event by a subscriber.
+ * @brief Set code to an ordered event by a subscriber.
*
* @param subscriber Indicates the subscriber.
- * @param code Indicates the result code.
+ * @param code Indicates the code.
* @return Returns the result of operation, true means succeeded.
* @since 18
*/
bool OH_CommonEvent_SetCodeToSubscriber(CommonEvent_Subscriber* subscriber, int32_t code);
/**
- * @brief Get result data from an ordered event by a subscriber.
+ * @brief Get data from an ordered event by a subscriber.
*
* @param subscriber Indicates the subscriber.
- * @return Returns the result data, default is null.
+ * @return Returns the data, default is null.
* @since 18
*/
const char* OH_CommonEvent_GetDataFromSubscriber(const CommonEvent_Subscriber* subscriber);
/**
- * @brief Set result data to an ordered event by a subscriber.
+ * @brief Set data to an ordered event by a subscriber.
*
* @param subscriber Indicates the subscriber.
- * @param data Indicates the result data.
- * @param length Indicates the length of result data.
+ * @param data Indicates the data.
+ * @param length Indicates the length of data.
* @return Returns the result of operation, true means succeeded.
* @since 18
*/
diff --git a/arkui/ace_engine/native/libace.ndk.json b/arkui/ace_engine/native/libace.ndk.json
index 4a896d6404f7eddd28bb31e6377d17f8828491a0..3c739a283d083bc3ec54e71cbce89094a70bce10 100644
--- a/arkui/ace_engine/native/libace.ndk.json
+++ b/arkui/ace_engine/native/libace.ndk.json
@@ -1559,10 +1559,6 @@
"first_introduced": "18",
"name": "OH_ArkUI_NodeUtils_MoveTo"
},
- {
- "first_introduced": "21",
- "name": "OH_ArkUI_NativeModule_InvalidateAttributes"
- },
{
"first_introduced": "15",
"name": "OH_ArkUI_NodeUtils_SetCrossLanguageOption"
diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h
index ce5b57eb466694a3560506fa7a0111385ae2d37f..afeb5f72620454e0044f0ef7762861a97dd61793 100644
--- a/arkui/ace_engine/native/native_node.h
+++ b/arkui/ace_engine/native/native_node.h
@@ -4088,25 +4088,19 @@ typedef enum {
*/
NODE_XCOMPONENT_ID = MAX_NODE_SCOPE_NUM * ARKUI_NODE_XCOMPONENT,
/**
- * @brief Defines the type of the component.
- * This attribute can be set, reset, and obtained as required through APIs.
+ * @brief Specifies the type of the XComponent component. This attribute is read-only. \n
+ * The type of the XComponent component must be explicitly set during creation using {@link ARKUI_NODE_XCOMPONENT} or {@link ARKUI_NODE_XCOMPONENT_TEXTURE}, and cannot be modified afterward. \n
+ * Attempting to change the type through {@link setAttribute} will cause rendering exceptions.
*
- * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n
- * .value[0].i32: type {@link ArkUI_XComponentType}. The default value is ARKUI_XCOMPONENT_TYPE_SURFACE. \n
- * \n
* Format of the return value {@link ArkUI_AttributeItem}:\n
* .value[0].i32: type {@link ArkUI_XComponentType}. \n
*
*/
NODE_XCOMPONENT_TYPE,
/**
- * @brief Defines the width and height of the component.
- * This attribute can be set and obtained as required through APIs.
+ * @brief Specifies the size of the XComponent component. This attribute is read-only. \n
+ * Attempting to modify the size through {@link setAttribute} will have no effect.
*
- * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n
- * .value[0].u32: width, in px. \n
- * .value[1].u32: height, in px. \n
- * \n
* Format of the return value {@link ArkUI_AttributeItem}:\n
* .value[0].u32: width, in px. \n
* .value[1].u32: height, in px. \n
@@ -9893,21 +9887,6 @@ int32_t OH_ArkUI_NodeUtils_GetAttachedNodeHandleById(const char* id, ArkUI_NodeH
*/
int32_t OH_ArkUI_NodeUtils_MoveTo(ArkUI_NodeHandle node, ArkUI_NodeHandle target_parent, int32_t index);
-/**
- * @brief Triggers node updates in the current frame.
- * When node attributes are modified after the current frame's build phase (i.e., after
- * the unified processing of dirty nodes), the node updates will be deferred to the next
- * frame. This function forces immediate node updates within the current frame to
- * ensure rendering effects are applied synchronously.
- *
- * @param node ArkUI_NodeHandle pointer.
- * @return Error code.
- * {@link ARKUI_ERROR_CODE_NO_ERROR} Success.
- * {@link ARKUI_ERROR_CODE_PARAM_INVALID} Function parameter exception.
- * @since 21
- */
-int32_t OH_ArkUI_NativeModule_InvalidateAttributes(ArkUI_NodeHandle node);
-
/**
* @brief Set the cross-language option of the target node handle.
*
diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h
index 7cef398b2d6b7cbab8dec555464d44799d0898fa..03b814fd3b4d68b698228c8dfbe8db1c2d329a8b 100644
--- a/arkui/ace_engine/native/native_type.h
+++ b/arkui/ace_engine/native/native_type.h
@@ -1356,6 +1356,12 @@ typedef enum {
ARKUI_OBJECT_FIT_NONE_AND_ALIGN_BOTTOM,
/** Not resized, the image is aligned with the end edge at the bottom of the container. */
ARKUI_OBJECT_FIT_NONE_AND_ALIGN_BOTTOM_END,
+ /**
+ * Not resized, and is used in conjunction with NODE_IMAGE_IMAGE_MATRIX.
+ *
+ * @since 21
+ */
+ ARKUI_OBJECT_FIT_NONE_MATRIX,
} ArkUI_ObjectFit;
/**
diff --git a/distributeddatamgr/relational_store/include/data_asset.h b/distributeddatamgr/relational_store/include/data_asset.h
index f791cbc9e815b1358fd4bb3b4054f1576b808521..85c4fbdf6ba1a0195c34f30f2a15c36c5465c1fc 100644
--- a/distributeddatamgr/relational_store/include/data_asset.h
+++ b/distributeddatamgr/relational_store/include/data_asset.h
@@ -326,7 +326,9 @@ Data_Asset *OH_Data_Asset_CreateOne(void);
*
* @param asset Represents a pointer to an {@link Data_Asset} instance.
* @return Returns the status code of the execution. Successful execution returns RDB_OK,
- * while failure returns a specific error code. Specific error codes can be referenced {@link OH_Rdb_ErrCode}.
+ * while failure returns a specific error code.
+ * {@link RDB_OK} - success.
+ * Specific error codes can be referenced {@link OH_Rdb_ErrCode}.
* @see Data_Asset, OH_Rdb_ErrCode.
* @since 11
*/
@@ -349,7 +351,9 @@ Data_Asset **OH_Data_Asset_CreateMultiple(uint32_t count);
* @param assets Represents a pointer to an {@link Data_Asset} instance.
* @param count Represents the count of {@link Data_Asset} to destroy.
* @return Returns the status code of the execution. Successful execution returns RDB_OK,
- * while failure returns a specific error code. Specific error codes can be referenced {@link OH_Rdb_ErrCode}.
+ * while failure returns a specific error code.
+ * {@link RDB_OK} - success.
+ * Specific error codes can be referenced {@link OH_Rdb_ErrCode}.
* @see Data_Asset, OH_Rdb_ErrCode.
* @since 11
*/
diff --git a/multimedia/audio_framework/ohaudio.ndk.json b/multimedia/audio_framework/ohaudio.ndk.json
index 858a405ccc3ce5403e73550e770a5889ef7e7db3..327f7573d81a14ed3e264534400c4d95aeb580c9 100644
--- a/multimedia/audio_framework/ohaudio.ndk.json
+++ b/multimedia/audio_framework/ohaudio.ndk.json
@@ -348,35 +348,35 @@
"name":"OH_AudioSessionManager_UnregisterSessionDeactivatedCallback"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_SetScene"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_RegisterStateChangeCallback"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_UnregisterStateChangeCallback"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_SetDefaultOutputDevice"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_GetDefaultOutputDevice"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_ReleaseDevices"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_RegisterCurrentOutputDeviceChangeCallback"
},
{
- "first_introduced": "12",
+ "first_introduced": "20",
"name":"OH_AudioSessionManager_UnregisterCurrentOutputDeviceChangeCallback"
},
{
diff --git a/multimedia/av_codec/native_avcapability.h b/multimedia/av_codec/native_avcapability.h
index 1d0af06b2b47a70e57f70e5f8440b67e56dd7d56..3c8649510a60c693bee868cff1098b08c40814e9 100644
--- a/multimedia/av_codec/native_avcapability.h
+++ b/multimedia/av_codec/native_avcapability.h
@@ -84,7 +84,7 @@ typedef enum OH_AVCapabilityFeature {
VIDEO_ENCODER_TEMPORAL_SCALABILITY = 0,
/** Feature for codec supports long-term reference. It is only used in video encoder. */
VIDEO_ENCODER_LONG_TERM_REFERENCE = 1,
- /** Feature for codec supports low latency. It is used in video encoder and video decoder. */
+ /** Feature for codec supports low latency. It is only used in video decoder. */
VIDEO_LOW_LATENCY = 2,
/** Feature for codec supports B-frame encoding. It is only used in video encoder.
* @since 20
diff --git a/multimedia/av_codec/native_avcodec_base.h b/multimedia/av_codec/native_avcodec_base.h
index 7745ac2101f9066330942d3bd141a608a2ec70e2..0042b76b4a2da27c3f8f01b44f2254bfe09f2a95 100644
--- a/multimedia/av_codec/native_avcodec_base.h
+++ b/multimedia/av_codec/native_avcodec_base.h
@@ -944,8 +944,8 @@ extern const char *OH_MD_KEY_VIDEO_PIC_WIDTH;
extern const char *OH_MD_KEY_VIDEO_PIC_HEIGHT;
/**
* @brief Key to enable the low latency mode, value type is int32_t (0 or 1):1 is enabled, 0 otherwise.
- * If enabled, the video encoder or video decoder doesn't hold input and output data more than required by
- * the codec standards. This is an optional key that applies only to video encoder or video decoder.
+ * If enabled, the video decoder doesn't hold input and output data more than required by
+ * the codec standards. This is an optional key that applies only to video decoder.
* It is used in configure.
*
* @syscap SystemCapability.Multimedia.Media.CodecBase
diff --git a/multimodalinput/kits/c/input/oh_input_manager.h b/multimodalinput/kits/c/input/oh_input_manager.h
index 7ff7bb1511574ab7bb2c8660dddbef2d7de3161a..32432532486e3b63d97343b4ff66106909c9aa4e 100644
--- a/multimodalinput/kits/c/input/oh_input_manager.h
+++ b/multimodalinput/kits/c/input/oh_input_manager.h
@@ -1389,7 +1389,7 @@ Input_Result OH_Input_GetAxisEventSourceType(const Input_AxisEvent* axisEvent, I
*
* @param axisEvent Axis event object. For details, see {@Link Input_AxisEvent}.
* @param windowId The windowId for the axis event.
- * @return OH_Input_SetAxisEventDisplayY function result code.
+ * @return OH_Input_SetAxisEventWindowId function result code.
* {@link INPUT_SUCCESS} Sets the Y coordinate of the axis event success.\n
* {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n
* @syscap SystemCapability.MultimodalInput.Input.Core
@@ -1402,7 +1402,7 @@ Input_Result OH_Input_SetAxisEventWindowId(Input_AxisEvent* axisEvent, int32_t w
*
* @param axisEvent Axis event object. For details, see {@Link Input_AxisEvent}.
* @param windowId The windowId for the axis event.
- * @return OH_Input_GetAxisEventDisplayY function result code.
+ * @return OH_Input_GetAxisEventWindowId function result code.
* {@link INPUT_SUCCESS} Obtains the Y coordinate of the axis event success.\n
* {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayY is NULL.\n
* @syscap SystemCapability.MultimodalInput.Input.Core
@@ -1415,7 +1415,7 @@ Input_Result OH_Input_GetAxisEventWindowId(const Input_AxisEvent* axisEvent, int
*
* @param axisEvent Axis event object. For details, see {@Link Input_AxisEvent}.
* @param displayId The displayId for the axis event.
- * @return OH_Input_SetAxisEventDisplayY function result code.
+ * @return OH_Input_SetAxisEventDisplayId function result code.
* {@link INPUT_SUCCESS} Sets the Y coordinate of the axis event success.\n
* {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL.\n
* @syscap SystemCapability.MultimodalInput.Input.Core
@@ -1428,7 +1428,7 @@ Input_Result OH_Input_SetAxisEventDisplayId(Input_AxisEvent* axisEvent, int32_t
*
* @param axisEvent Axis event object. For details, see {@Link Input_AxisEvent}.
* @param displayId The displayId for the axis event.
- * @return OH_Input_GetAxisEventDisplayY function result code.
+ * @return OH_Input_GetAxisEventDisplayId function result code.
* {@link INPUT_SUCCESS} Obtains the Y coordinate of the axis event success.\n
* {@link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the displayY is NULL.\n
* @syscap SystemCapability.MultimodalInput.Input.Core
@@ -1775,7 +1775,7 @@ void OH_Input_SetFinalKey(Input_Hotkey *hotkey, int32_t finalKey);
*
* @param hotkey Hotkey key object.
* @param finalKeyCode Returns the key value of the decorated key.
- * @return OH_Input_GetfinalKey status code, specifically,
+ * @return OH_Input_GetFinalKey status code, specifically,
* {@link INPUT_SUCCESS} if the operation is successful;\n
* {@link INPUT_PARAMETER_ERROR} The hotkey is NULL or the finalKeyCode is NULL;\n
* {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n
@@ -1840,7 +1840,7 @@ void OH_Input_SetRepeat(Input_Hotkey* hotkey, bool isRepeat);
*
* @param hotkey Shortcut key object.
* @param isRepeat Whether a key event is repeated.
- * @return OH_Input_GetIsRepeat status code, specifically,
+ * @return OH_Input_GetRepeat status code, specifically,
* {@link INPUT_SUCCESS} if the operation is successful;\n
* {@link INPUT_PARAMETER_ERROR} otherwise;\n
* {@Link INPUT_DEVICE_NOT_SUPPORTED} Capability not supported.\n
@@ -2061,7 +2061,7 @@ Input_Result OH_Input_UnregisterDeviceListener(Input_DeviceListener* listener);
/**
* @brief Unregisters the listener for all device hot swap events.
*
- * @return OH_Input_UnregisterDeviceListener status code, specifically,
+ * @return OH_Input_UnregisterDeviceListeners status code, specifically,
* {@link INPUT_SUCCESS} if the operation is successful;\n
* {@link INPUT_SERVICE_EXCEPTION} if the service is abnormal.
* @syscap SystemCapability.MultimodalInput.Input.Core