Skip to content

@halone/sdk / AppInfo

Interface: AppInfo ​

Properties ​

color? ​

ts
optional color?: string | null;

A CSS colour for the app's tile, chosen by the app; absent leaves it to the launcher, which takes it from the icon.


description ​

ts
description: string;

dev? ​

ts
optional dev?: boolean;

A package running from a developer's server.


entry ​

ts
entry: string;

heightPx ​

ts
heightPx: number;

hidden? ​

ts
optional hidden?: boolean;

icon ​

ts
icon: string;

iconUrl? ​

ts
optional iconUrl?: string | null;

An image for the app where [icon] is not enough: an installed site's own, as a data: URL.


id ​

ts
id: string;

kind? ​

ts
optional kind?: AppKind;

Built into the shell, or a site the wearer installed; absent means system.


name ​

ts
name: string;

opens? ​

ts
optional opens?: string[];

MIME types the app opens, such as image/*; the first app that matches a file opens it.


permissions? ​

ts
optional permissions?: Permission[] | null;

A package's granted permissions.


provider? ​

ts
optional provider?: string | null;

A native app's plugin: its Android package.


scope? ​

ts
optional scope?: string | null;

A web app's pages: addresses under it stay in its window.


widthPx ​

ts
widthPx: number;

Released under the MIT License.