arkui_sys::native_animate

Function OH_ArkUI_TransitionEffect_Combine

Source
pub unsafe extern "C" fn OH_ArkUI_TransitionEffect_Combine(
    firstEffect: *mut ArkUI_TransitionEffect,
    secondEffect: *mut ArkUI_TransitionEffect,
) -> i32
Available on crate feature api-12 only.
Expand description

Sets a combination of transition effects.

§Arguments

firstEffect - Indicates the transition effect options.

secondEffect - Indicates the combination of transition effects.

§Returns

Returns the error code. Returns [ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.

Available since API-level: 12