OH_UdmfRecord_AddArrayBuffer

Function OH_UdmfRecord_AddArrayBuffer 

Source
pub unsafe extern "C" fn OH_UdmfRecord_AddArrayBuffer(
    record: *mut OH_UdmfRecord,
    type_: *const c_char,
    buffer: *mut OH_UdsArrayBuffer,
) -> c_int
Available 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 of OH_UdmfRecord.

  • type - Represents record type, reference udmf_meta.h.

  • buffer - Represents a pointer to an instance of OH_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_UdmfRecord OH_UdsArrayBuffer Udmf_ErrCode.

Available since API-level: 13