Type Alias binder_ndk_sys::AIBinder_Class_onDestroy

source ·
pub type AIBinder_Class_onDestroy = Option<unsafe extern "C" fn(userData: *mut c_void)>;
Expand description

This is called whenever an AIBinder object is no longer referenced and needs destroyed.

Typically, this just deletes whatever the implementation is.

\param userData this is the same object returned by AIBinder_Class_onCreate

Aliased Type§

enum AIBinder_Class_onDestroy {
    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.