APersistableBundle_readFromParcel

Function APersistableBundle_readFromParcel 

Source
pub unsafe extern "C" fn APersistableBundle_readFromParcel(
    parcel: *const AParcel,
    outPBundle: *mut *mut APersistableBundle,
) -> binder_status_t
Expand description

Read an APersistableBundle from an AParcel.

Available since API level 202404.

\param parcel to read from \param outPBundle bundle to write to

\return STATUS_OK on success STATUS_BAD_VALUE if the parcel or outBuffer is null, or if there’s an issue deserializing (eg, corrupted parcel) STATUS_BAD_TYPE if the parcel’s current data position is not that of an APersistableBundle type STATUS_NO_MEMORY if an allocation fails