Function binder_ndk_sys::AIBinder_Weak_promote

source ยท
pub unsafe extern "C" fn AIBinder_Weak_promote(
    weakBinder: *mut AIBinder_Weak,
) -> *mut AIBinder
Expand description

If promotion succeeds, result will have one strong refcount added to it. Otherwise, this returns null.

Available since API level 29.

\param weakBinder weak pointer to attempt retrieving the original object from.

\return an AIBinder object with one refcount given to the caller or null.