Skip to main content

OH_UdsContentForm_SetAppIcon

Function OH_UdsContentForm_SetAppIcon 

Source
pub unsafe extern "C" fn OH_UdsContentForm_SetAppIcon(
    pThis: *mut OH_UdsContentForm,
    appIcon: *const c_uchar,
    len: c_uint,
) -> c_int
Available on crate feature api-14 only.
Expand description

Set thumb data to the OH_UdsContentForm.

§Arguments

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

  • appIcon - Represents the app icon.

  • len - Represents the length of app icon param.

§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_UdsContentForm Udmf_ErrCode

Available since API-level: 14