string getAppIconByLabel(string label)
Attempts to get the icon image of an app. Returns a base-64 string of the image data, or null if something went wrong. The base-64 image can be assigned to an image tag like so:
el.src = "data:image/png;base64," + base64Data;
Security
Trust Level Required: Low trust
Parameters
Name | Description |
label | The display name of the application (ex. "Calculator"). |
Return
A base-64 string of the image data, or null if something went wrong.