Skip to main content

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

ParameterTypeDescription
bitmapUrlstringThe Overwolf url to add.
callbackCallbackFunction<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

ParameterTypeDescription
bitmapByteArrayA byte array representing a 21x6 bitmap.
callbackCallbackFunction<Result>A callback with the result of the request.

Returns

void