Skip to main content

OH_ArkUI_NativeModule_GetNativeAccessibilityProvider

Function OH_ArkUI_NativeModule_GetNativeAccessibilityProvider 

Source
pub unsafe extern "C" fn OH_ArkUI_NativeModule_GetNativeAccessibilityProvider(
    node: *mut ArkUI_NodeHandle,
    provider: *mut *mut ArkUI_AccessibilityProvider,
) -> i32
Available on crate features api-13 and api-23 only.
Expand description

Obtains the pointer to the ArkUI_AccessibilityProvider instance of this ArkUI_NodeHandle instance.

§Arguments

  • node - Indicates the pointer to the ArkUI_NodeHandle instance.

  • provider - Indicates the pointer to the ArkUI_AccessibilityProvider instance.

§Returns

  • Returns the result code.

  • Returns ARKUI_ERROR_CODE_NO_ERROR if the operation is successful. Returns ARKUI_ERROR_CODE_PARAM_INVALID if a parameter error occurs:1. node or provider is nullptr. 2. the type of node is not ARKUI_NODE_CUSTOM.

Available since API-level: 23