binder_ndk_sys

Type Alias AIBinder_DeathRecipient_onBinderDied

Source
pub type AIBinder_DeathRecipient_onBinderDied = Option<unsafe extern "C" fn(cookie: *mut c_void)>;
Expand description

This function is executed on death receipt. See AIBinder_linkToDeath/AIBinder_unlinkToDeath.

Available since API level 29.

\param cookie the cookie passed to AIBinder_linkToDeath.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.