Show / Hide Table of Contents

Class CentralServicesPushNotificationClient

This class can be used to communicate with SuperOffice Central Services, for sending push notification to Pocket users

Inheritance
object
CentralServicesPushNotificationClient
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top