pub unsafe extern "C" fn OH_UdmfRecord_AddArrayBuffer(
record: *mut OH_UdmfRecord,
type_: *const c_char,
buffer: *mut OH_UdsArrayBuffer,
) -> c_intAvailable on crate feature
api-13 only.Expand description
Add one OH_UdsArrayBuffer data to the OH_UdmfRecord record.
§Arguments
-
record- Represents a pointer to an instance ofOH_UdmfRecord. -
type- Represents record type, reference udmf_meta.h. -
buffer- Represents a pointer to an instance ofOH_UdsArrayBuffer.
§Returns
- Returns the status code of the execution. See [
Udmf_ErrCode]. [UDMF_E_OK] success. [UDMF_E_INVALID_PARAM] The error code for common invalid args.OH_UdmfRecordOH_UdsArrayBuffer Udmf_ErrCode.
Available since API-level: 13