getCustomIconUrl( moduleId, moduleVersion, iconIndex, processed ) method

Gets the URL to the custom icon.

This function is used by hwc.CustomIcon#getIconUrl.

Syntax

<static> getCustomIconUrl( moduleId, moduleVersion, iconIndex, processed ) → {string}

Parameters

Name Type Description
moduleId number The module Id of the hybrid app the custom icon belongs to.
moduleVersion number The version of the hybrid app the custom icon belongs to.
iconIndex number The index of the custom icon.
processed boolean Whether to get the processed icon (true), or the unprocessed icon (false).

Returns

The URL to the target icon.

[/reference/refbody/section/sectiondiv {""})

Type:

string

(sectiondiv]

Source

hwc-api.js, line 2319.