0
mirror of https://github.com/valentineus/webos-service-types.git synced 2025-04-28 00:41:24 +03:00

Service's method structure

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-20 11:20:00 +04:00
parent 0f34c94af0
commit b7bdbd77e7
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

28
dist/index.d.ts vendored
View File

@ -1,9 +1,37 @@
export declare class Service {
public constructor(busId: string, activityManager?: IActivityManager, options?: IServiceOptions);
private _dispatch(): any;
private _register(): any;
private _registerBuiltInMethods(): any;
public call(): any;
public cancelSubscription(): any;
public cleanupUnified(): any;
public idIsPrivileged(): any;
public info(message: IMessage): void;
public quit(message: IMessage): void;
public register(): any;
public registerPrivate(): any;
public subscribe(uri: string, args: any): Subscription;
}
export declare class Subscription { }
export interface IActivityManager { }
export interface IMessage { }
export interface IServiceOptions {
readonly idleTimer?: number;
readonly noBuiltinMethods?: boolean;