NotificationCategory
Represents a notification category
Constructor Summary
Public Constructor | ||
public |
constructor(name: string, notification: NotificationGroup[]) |
Member Summary
Public Members | ||
public |
Time-based name of category |
|
public |
Prefer the generator |
Method Summary
Public Methods | ||
public |
This iterates in sorted order |
|
public |
Returns all IDs |
|
public |
async getStatus(): NotificationStatus Returns if any item in the group is unread |
Public Constructors
public constructor(name: string, notification: NotificationGroup[]) source
Params:
Name | Type | Attribute | Description |
name | string | ||
notification | NotificationGroup[] | groups expects in sorted order. |