Skip to main content
Module

x/deno_streamdeck/mod.ts>AppDeck

🦕 Deno library for Stream Deck
Go to Latest
class AppDeck
extends StreamDeck
import { AppDeck } from "https://deno.land/x/deno_streamdeck@v0.5.0/mod.ts";

Constructors

new
AppDeck(type: DeckType | string, info?: DeckInfo)

Create a new AppDeck instance

Properties

readonly
activeApp: App | null

Return the active app or null if menu is active

readonly
screenshot: Uint8Array

Screenshot the current Stream Deck display

Methods

loadApp(
uuid: string,
icon: string | Uint8Array,
images: string[] | Uint8Array[],
): void

Add an app

setAppKey(k: number): void

Update an single Stream Deck key for the current app

setAppKeyState(
uuid: string,
key: number,
state: number,
): boolean

Set an indvidual key state to use a different keypad image

setIcon(name: string, path: string): void

Set a system icon

setKeyData(
key: number,
data?: Uint8Array,
id?: symbol | null,
): void

Set an individual Stream Deck key image

showApp(uuid: string): boolean

Set the active app display

showMenu(): void

Set the menu display

unloadApp(uuid: string): boolean

Remove an app