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 : INotificationHubClient
Constructors
CentralServicesPushNotificationClient()
Declaration
public CentralServicesPushNotificationClient()
Methods
SendMessage(PushNotificationRecipient, PushNotificationMessage)
Send a message to a single device
Declaration
public void SendMessage(PushNotificationRecipient recipient, PushNotificationMessage message)
Parameters
Type | Name | Description |
---|---|---|
CentralServices.Data.Pocket.PushNotificationRecipient | recipient | |
CentralServices.Data.Pocket.PushNotificationMessage | message | The message to send |
SendMessages(PushNotificationRecipient[], PushNotificationMessage)
Declaration
public void SendMessages(PushNotificationRecipient[] recipients, PushNotificationMessage message)
Parameters
Type | Name | Description |
---|---|---|
CentralServices.Data.Pocket.PushNotificationRecipient[] | recipients | |
CentralServices.Data.Pocket.PushNotificationMessage | message |
Extension Methods
EnumUtil.MapEnums<From, To>(From)