Type Alias binder_ndk_sys::AIBinder_Class_onCreate

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

This is called whenever a new AIBinder object is needed of a specific class.

\param args these can be used to construct a new class. These are passed from AIBinder_new. \return this is the userdata representing the class. It can be retrieved using AIBinder_getUserData.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.