overwolf.logitech.led.setLightingFromBitmap
Overwolf APIs / overwolf / overwolf / logitech / led / setLightingFromBitmap
Call Signature
function setLightingFromBitmap(
bitmapUrl: string,
callback: CallbackFunction<Result>,
): void;
Sets the lighting from an overwolf-extension:// or overwolf-media:// url. The file must be 21x6.
Parameters
| Parameter | Type | Description |
|---|---|---|
bitmapUrl | string | The Overwolf url to add. |
callback | CallbackFunction<Result> | A callback with the result of the request. |
Returns
void
Call Signature
function setLightingFromBitmap(
bitmap: ByteArray,
callback: CallbackFunction<Result>,
): void;
Sets the lighting from a bitmap byte array.
Parameters
| Parameter | Type | Description |
|---|---|---|
bitmap | ByteArray | A byte array representing a 21x6 bitmap. |
callback | CallbackFunction<Result> | A callback with the result of the request. |
Returns
void