Class CentralServicesPushNotificationClient
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Namespace: SuperOffice.CRM.Notification
Assembly: SoDataBase.dll
Syntax
public class CentralServicesPushNotificationClient : Object, INotificationHubClient
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
SendMessage(PushNotificationRecipient, PushNotificationMessage)
Send a message to a single device
Declaration
public void SendMessage(PushNotificationRecipient recipient, PushNotificationMessage message)
Parameters
Type | Name | Description |
---|---|---|
PushNotificationRecipient | recipient | |
PushNotificationMessage | message | The message to send |
SendMessages(PushNotificationRecipient[], PushNotificationMessage)
This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users
Declaration
public void SendMessages(PushNotificationRecipient[] recipients, PushNotificationMessage message)
Parameters
Type | Name | Description |
---|---|---|
PushNotificationRecipient[] | recipients | |
PushNotificationMessage | message |
Extension Methods
EnumUtil.MapEnums<From, To>(From)