OH_ArkUI_AccessibilityElementInfoSetClickable

Function OH_ArkUI_AccessibilityElementInfoSetClickable 

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

Sets whether the element is clickable for an ArkUI_AccessibilityElementInfo object.

§Arguments

  • elementInfo - Indicates the pointer to an ArkUI_AccessibilityElementInfo object.

  • clickable - Indicates whether the element is clickable.

§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