Function binder_ndk_sys::AStatus_getStatus

source ยท
pub unsafe extern "C" fn AStatus_getStatus(
    status: *const AStatus,
) -> binder_status_t
Expand description

The status if this object represents one. This function will only ever return a non-zero result if AStatus_getExceptionCode returns EX_TRANSACTION_FAILED. If this function return 0, the status object may represent a different exception or a service specific error. To find out if this transaction as a whole is okay, use AStatus_isOk instead.

Available since API level 29.

\param status the status being queried.

\return the status code if the exception code is EX_TRANSACTION_FAILED or 0.