Function binder_ndk_sys::AStatus_getServiceSpecificError

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

The service specific error if this object represents one. This function will only ever return a non-zero result if AStatus_getExceptionCode returns EX_SERVICE_SPECIFIC. If this function returns 0, the status object may still represent a different exception or status. 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 service-specific error code if the exception code is EX_SERVICE_SPECIFIC or 0.