Function binder_ndk_sys::AIBinder_getExtension

source ยท
pub unsafe extern "C" fn AIBinder_getExtension(
    binder: *mut AIBinder,
    outExt: *mut *mut AIBinder,
) -> binder_status_t
Expand description

Gets the extension registered with AIBinder_setExtension.

See AIBinder_setExtension.

Available since API level 30.

\param binder the object to get the extension of. \param outExt the returned extension object. Will be null if there is no extension set or non-null with one strong ref count.

\return error of getting the interface (may be a transaction error if this is remote binder). STATUS_UNEXPECTED_NULL if binder is null.