Class CentralServicesPushNotificationClient
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Inherited Members
Namespace: SuperOffice.CRM.Notification
Assembly: SoDataBase.dll
Syntax
public class CentralServicesPushNotificationClient
Constructors
CentralServicesPushNotificationClient()
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Declaration
public CentralServicesPushNotificationClient()
Properties
Timeout
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Declaration
public TimeSpan Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Methods
SendMessageAsync(PushNotificationRecipient, PushNotificationMessage, CancellationToken)
Send a message to a single device
Declaration
public Task SendMessageAsync(PushNotificationRecipient recipient, PushNotificationMessage message, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| PushNotificationRecipient | recipient | |
| PushNotificationMessage | message | The message to send |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |
SendMessagesAsync(PushNotificationRecipient[], PushNotificationMessage, CancellationToken)
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Declaration
public Task SendMessagesAsync(PushNotificationRecipient[] recipients, PushNotificationMessage message, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| PushNotificationRecipient[] | recipients | |
| PushNotificationMessage | message | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |