Interface INotificationGroup
Interface representing a group of notifications.
Namespace: SociallyDistant.Core.Shell.Common
Assembly: SociallyDistant.Framework.dll
Syntax
public interface INotificationGroup
Properties
Name
Gets the name of the notification group.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
MarkNotificationAsRead(ObjectId)
Mark the specified notification as unread.
Declaration
void MarkNotificationAsRead(ObjectId correlationId)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectId | correlationId | The world Id of the notification. |
ObserveUnread(Action<bool>)
Observe changes to the "unread" status of the group.
Declaration
IDisposable ObserveUnread(Action<bool> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<bool> | callback | A callback that executes every time the notification group's unread status changes. |
Returns
| Type | Description |
|---|---|
| IDisposable | A resource that may be disposed when you want to stop listening. |