Skip to main content

ArkWeb_OnComponentCallback

Type Alias ArkWeb_OnComponentCallback 

Source
pub type ArkWeb_OnComponentCallback = Option<unsafe extern "C" fn(webTag: *const c_char, userData: *mut c_void)>;
Available on crate features api-11 and api-12 only.
Expand description

Defines the component callback of the native ArkWeb.

Available since API-level: 12

Aliased Type§

pub enum ArkWeb_OnComponentCallback {
    None,
    Some(unsafe extern "C" fn(*const u8, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const u8, *mut c_void))

Some value of type T.