OH_ArkUI_CreateTranslationTransitionEffect

Function OH_ArkUI_CreateTranslationTransitionEffect 

Source
pub unsafe extern "C" fn OH_ArkUI_CreateTranslationTransitionEffect(
    translate: *mut ArkUI_TranslationOptions,
) -> *mut ArkUI_TransitionEffect
Available on crate feature api-12 only.
Expand description

Creates a translation object for component transition.

§Arguments

  • translate - Indicates the translation settings for component transition.

§Returns

  • Returns the translation object created for component transition. Returns NULL if a parameter error occurs.

Available since API-level: 12