Property | Type | Description | |
---|---|---|---|
NotificationEndpoint | System |
Method | Description | |
---|---|---|
GetNotificationAsync ( string notificationId ) : Task |
Returns the data about a specific notification. OAuth authentication required.
|
|
GetNotificationsAsync ( bool newNotifications = true ) : Task |
Returns all of the notifications for the user. OAuth authentication required.
|
|
MarkNotificationViewedAsync ( string notificationId ) : Task |
Marks a notification as viewed. OAuth authentication required.
|
|
MarkNotificationsViewedAsync ( IEnumerable |
Marks notifications as viewed. OAuth authentication required.
|
|
NotificationEndpoint ( IApiClient apiClient ) : System |
Initializes a new instance of the NotificationsEndpoint class.
|
Method | Description | |
---|---|---|
NotificationEndpoint ( IApiClient apiClient, |
Initializes a new instance of the NotificationsEndpoint class.
|
public GetNotificationAsync ( string notificationId ) : Task |
||
notificationId | string | The notification id. |
return | Task |
public GetNotificationsAsync ( bool newNotifications = true ) : Task |
||
newNotifications | bool | false for all notifications, true for only non-viewed notification. Default is true. |
return | Task |
public MarkNotificationViewedAsync ( string notificationId ) : Task |
||
notificationId | string | The notification id. |
return | Task |
public MarkNotificationsViewedAsync ( IEnumerable |
||
ids | IEnumerable |
The notification id. |
return | Task |
public NotificationEndpoint ( IApiClient apiClient ) : System | ||
apiClient | IApiClient | The type of client that will be used for authentication. |
return | System |