aboutsummaryrefslogtreecommitdiff
path: root/src/walletTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r--src/walletTypes.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts
index 15c004c62..3c7bff1eb 100644
--- a/src/walletTypes.ts
+++ b/src/walletTypes.ts
@@ -570,3 +570,29 @@ export class GetTipPlanchetsRequest {
*/
static checked: (obj: any) => GetTipPlanchetsRequest;
}
+
+
+/**
+ * Badge that shows activity for the wallet.
+ */
+export interface Badge {
+ /**
+ * Start indicating background activity.
+ */
+ startBusy(): void;
+
+ /**
+ * Stop indicating background activity.
+ */
+ stopBusy(): void;
+
+ /**
+ * Show the notification in the badge.
+ */
+ showNotification(): void;
+
+ /**
+ * Stop showing the notification.
+ */
+ clearNotification(): void;
+}