pub unsafe extern "C" fn AParcel_readParcelFileDescriptor(
    parcel: *const AParcel,
    fd: *mut c_int,
) -> binder_status_t
Expand description

Reads an int from the next location in a non-null parcel.

The returned fd must be closed.

This corresponds to the SDK’s android.os.ParcelFileDescriptor.

Available since API level 29.

\param parcel the parcel to read from. \param fd the out parameter for what is read from the parcel (or -1 to represent a null ParcelFileDescriptor)

\return STATUS_OK on successful write.