@elgato/streamdeck
Version:
The official Node.js SDK for creating Stream Deck plugins.
17 lines (16 loc) • 625 B
TypeScript
import type { ApplicationDidLaunch, ApplicationDidTerminate } from "../../api/index.js";
import { Event } from "./event.js";
/**
* Provides information for events relating to an application.
*/
export declare class ApplicationEvent<T extends ApplicationDidLaunch | ApplicationDidTerminate> extends Event<T> {
/**
* Monitored application that was launched/terminated.
*/
readonly application: string;
/**
* Initializes a new instance of the {@link ApplicationEvent} class.
* @param source Source of the event, i.e. the original message from Stream Deck.
*/
constructor(source: T);
}