OH_UdmfProperty_SetExtrasStringParam

Function OH_UdmfProperty_SetExtrasStringParam 

Source
pub unsafe extern "C" fn OH_UdmfProperty_SetExtrasStringParam(
    pThis: *mut OH_UdmfProperty,
    key: *const c_char,
    param: *const c_char,
) -> c_int
Available on crate feature api-12 only.
Expand description

Set extras param to OH_UdmfProperty.

§Arguments

  • pThis - Represents a pointer to an instance of OH_UdmfProperty.

  • key - Represents extras param’s key value.

  • param - Represents value of k-v pairs.

§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_UdmfProperty Udmf_ErrCode.

Available since API-level: 12