OH_ArkUI_AccessibilityElementInfoSetChildNodeIds

Function OH_ArkUI_AccessibilityElementInfoSetChildNodeIds 

Source
pub unsafe extern "C" fn OH_ArkUI_AccessibilityElementInfoSetChildNodeIds(
    elementInfo: *mut ArkUI_AccessibilityElementInfo,
    childCount: i32,
    childNodeIds: *mut i64,
) -> i32
Available on crate feature api-13 only.
Expand description

Set the number of child nodes and child node IDs for an ArkUI_AccessibilityElementInfo object.

§Arguments

  • elementInfo - Indicates the pointer to an ArkUI_AccessibilityElementInfo object.

  • childCount - Indicates the number of child nodes.

  • childNodeIds - Indicates an array of child node IDs.

§Returns

  • Returns [ARKUI_ACCESSIBILITY_NATIVE_RESULT_SUCCESSFUL] if the operation is successful. Returns [ARKUI_ACCESSIBILITY_NATIVE_RESULT_BAD_PARAMETER] if a parameter is incorrect.

Available since API-level: 13