-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsgbot.d.ts
84 lines (83 loc) · 2.7 KB
/
msgbot.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/// <reference path="android-declarations.d.ts"/>
declare module com {
export module xfl {
export module msgbot {
export module application {
export module service {
export class NotificationListener {
public static NOTIFICATION_ID: number;
public static NOTIFICATION_PENDING_INTENT: number;
public onNotificationPosted(
param0: globalAndroid.service.notification.StatusBarNotification,
): void;
public constructor();
public onCreate(): void;
public onStartCommand(
param0: globalAndroid.content.Intent,
param1: number,
param2: number,
): number;
}
export module NotificationListener {
export class Companion {
public constructor();
public static getSessionByRoom(
param0: string,
): globalAndroid.app.Notification.Action;
public static getMarkAsReadInAllPackages(
param0: string,
): java.util.HashMap<
string,
globalAndroid.app.Notification.Action
>;
public static getMarkAsRead(
param0: string,
param1: string,
): globalAndroid.app.Notification.Action;
public static getRooms(param0: string): java.util.List<string>;
public static hasSessionAnyPackage(param0: string): boolean;
public static resetSession(): void;
public static setMarkAsRead(
param0: string,
param1: string,
param2: globalAndroid.app.Notification.Action,
): void;
public static updateNotification(
param0: globalAndroid.content.Context,
param1: java.util.List<string>,
): void;
public static setSession(
param0: string,
param1: string,
param2: globalAndroid.app.Notification.Action,
): void;
public constructor(param0: Any);
public static hasSession(param0: string, param1: string): boolean;
public static getSession(
param0: string,
param1: string,
): globalAndroid.app.Notification.Action;
}
}
}
}
export module utils {
export module SharedVar {
export class Companion {
public constructor();
public static getBotsPath(): string;
public constructor(param0: Any);
public static setBaseFile(param0: java.io.File): void;
public static getBaseFile(): java.io.File;
public static getGlobalModulesFolder(): java.io.File;
public static getBabelModulesFolder(): java.io.File;
public static getMSGBOT_PRIVATE_AGENT(): string;
public static setGlobalModulesFolder(param0: java.io.File): void;
public static getMSGBOT_AGENT(): string;
public static getDefaultMessengers(): androidNative.Array<string>;
}
}
}
}
}
}