pub unsafe extern "C" fn OH_UdmfProperty_SetExtrasStringParam(
pThis: *mut OH_UdmfProperty,
key: *const c_char,
param: *const c_char,
) -> c_intAvailable on crate feature
api-12 only.Expand description
Set extras param to OH_UdmfProperty.
§Arguments
-
pThis- Represents a pointer to an instance ofOH_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_UdmfPropertyUdmf_ErrCode.
Available since API-level: 12