0
mirror of https://github.com/valentineus/webos-service-types.git synced 2025-04-28 00:41:24 +03:00
Valentin Popov b7bdbd77e7
Service's method structure
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-20 11:20:00 +04:00

39 lines
764 B
TypeScript

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;
}