Function binder_ndk_sys::AIBinder_isAlive

source ยท
pub unsafe extern "C" fn AIBinder_isAlive(
    binder: *const AIBinder,
) -> bool
Expand description

If this binder is known to be alive. This will not send a transaction to a remote process and returns a result based on the last known information. That is, whenever a transaction is made, this is automatically updated to reflect the current alive status of this binder. This will be updated as the result of a transaction made using AIBinder_transact, but it will also be updated based on the results of bookkeeping or other transactions made internally.

Available since API level 29.

\param binder the binder being queried.

\return true if the binder is alive.