arkui_sys::native_gesture

Type Alias ArkUI_GestureRecognizerDisposeNotifyCallback

Source
pub type ArkUI_GestureRecognizerDisposeNotifyCallback = Option<unsafe extern "C" fn(recognizer: *mut ArkUI_GestureRecognizer, userData: *mut c_void)>;
Available on crate feature api-12 only.
Expand description

@brief Defines a callback function for notifying gesture recognizer destruction. @since 12

Aliased Type§

enum ArkUI_GestureRecognizerDisposeNotifyCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut ArkUI_GestureRecognizer, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ArkUI_GestureRecognizer, _: *mut c_void))

Some value of type T.