OH_NativeXComponent_GetNativeAccessibilityProvider

Function OH_NativeXComponent_GetNativeAccessibilityProvider 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetNativeAccessibilityProvider(
    component: *mut OH_NativeXComponent,
    handle: *mut *mut ArkUI_AccessibilityProvider,
) -> i32
Available on crate feature api-13 only.
Expand description

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

§Arguments

  • component - Indicates the pointer to the OH_NativeXComponent instance.

  • handle - Indicates the pointer to the ArkUI_AccessibilityProvider instance.

§Returns

  • Returns [OH_NATIVEXCOMPONENT_RESULT_SUCCESS] if the operation is successful. Returns [OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER] if a parameter error occurs.

Available since API-level: 13