Skip to content

Interface: RuntimeScope ​

Defined in: types/desktop-engine.d.ts:3671

Runtime scope DesktopEngineRuntime: every property read returns a new constructor object

Properties ​

AnimationFrameManager ​

ts
readonly AnimationFrameManager: 
  | SingletonConstructor<AnimationFrameManager>
  | undefined;

Defined in: types/desktop-engine.d.ts:3673

Animation frame manager (a singleton, internal)


Audio ​

ts
readonly Audio: 
  | SingletonConstructor<unknown>
  | undefined;

Defined in: types/desktop-engine.d.ts:3697

Native side of Web Audio and Audio (a singleton, internal: use the globals)


Canvas ​

ts
readonly Canvas: CanvasConstructor;

Defined in: types/desktop-engine.d.ts:3683

Canvas component constructor


CanvasImage ​

ts
readonly CanvasImage: CanvasImageConstructor;

Defined in: types/desktop-engine.d.ts:3685

Canvas image constructor


Component ​

ts
readonly Component: ComponentConstructor;

Defined in: types/desktop-engine.d.ts:3677

Basic component constructor


FileSystem ​

ts
readonly FileSystem: PlainConstructor<unknown>;

Defined in: types/desktop-engine.d.ts:3691

Native side of DesktopEngine.fs and require (internal: use DesktopEngine.fs)


Image ​

ts
readonly Image: ImageConstructor;

Defined in: types/desktop-engine.d.ts:3681

Image component constructor


LocalStorage ​

ts
readonly LocalStorage: 
  | SingletonConstructor<unknown>
  | undefined;

Defined in: types/desktop-engine.d.ts:3693

Native side of localStorage (a singleton, internal: use the global)


Network ​

ts
readonly Network: 
  | SingletonConstructor<unknown>
  | undefined;

Defined in: types/desktop-engine.d.ts:3695

Native side of fetch, WebSocket, blob URLs and TextDecoder (a singleton, internal: use the globals)


ScreenManager ​

ts
readonly ScreenManager: PlainConstructor<ScreenManager>;

Defined in: types/desktop-engine.d.ts:3687

Screen manager constructor


System ​

ts
readonly System: PlainConstructor<System>;

Defined in: types/desktop-engine.d.ts:3689

System services constructor


Video ​

ts
readonly Video: VideoConstructor;

Defined in: types/desktop-engine.d.ts:3679

Video component constructor


Window ​

ts
readonly Window: WindowConstructor;

Defined in: types/desktop-engine.d.ts:3675

Window constructor

The SDK is released under the Apache License 2.0