Show / Hide Table of Contents

Interface IPushNotificationServiceManager

Namespace: SuperOffice.CRM.Notification
Assembly: SoDataBase.dll
Syntax
public interface IPushNotificationServiceManager

Properties

IncludeUpdatedBadgeCount

Declaration
bool IncludeUpdatedBadgeCount { get; set; }
Property Value
Type Description
bool

SendMessageToOurself

Declaration
bool SendMessageToOurself { get; set; }
Property Value
Type Description
bool

SilentExceptions

Declaration
bool SilentExceptions { get; set; }
Property Value
Type Description
bool

UpdateSentMessageCounters

Declaration
bool UpdateSentMessageCounters { get; set; }
Property Value
Type Description
bool

Methods

GetPushNotificationRowsAsync(PushNotificationType, CancellationToken)

Declaration
Task<IEnumerable<PushNotificationServiceRow>> GetPushNotificationRowsAsync(PushNotificationType type, CancellationToken cancellationToken = default)
Parameters
Type Name Description
PushNotificationType type
CancellationToken cancellationToken
Returns
Type Description
Task<IEnumerable<PushNotificationServiceRow>>

GetPushNotificationRowsAsync(IEnumerable<int>, PushNotificationType, bool, CancellationToken)

Declaration
IAsyncEnumerable<PushNotificationServiceRow> GetPushNotificationRowsAsync(IEnumerable<int> associateIds, PushNotificationType type, bool overrideTagSettings, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<int> associateIds
PushNotificationType type
bool overrideTagSettings
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<PushNotificationServiceRow>

GetRegisteredDevicesAsync(int, CancellationToken)

Declaration
IAsyncEnumerable<DeviceInfo> GetRegisteredDevicesAsync(int associateId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int associateId
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<DeviceInfo>

GetTagsAsync(int, string, CancellationToken)

Declaration
Task<string> GetTagsAsync(int associateId, string deviceIdentifier, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int associateId
string deviceIdentifier
CancellationToken cancellationToken
Returns
Type Description
Task<string>

GetTagsAsync(string, CancellationToken)

Declaration
Task<string> GetTagsAsync(string deviceIdentifier, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string deviceIdentifier
CancellationToken cancellationToken
Returns
Type Description
Task<string>

PNSHandlesAsync(NotificationPlatform, CancellationToken)

Declaration
Task<IEnumerable<string>> PNSHandlesAsync(NotificationPlatform platform, CancellationToken cancellationToken = default)
Parameters
Type Name Description
NotificationPlatform platform
CancellationToken cancellationToken
Returns
Type Description
Task<IEnumerable<string>>

PurgeOldDevicesAsync(TimeSpan, CancellationToken)

Declaration
Task PurgeOldDevicesAsync(TimeSpan age, CancellationToken cancellationToken = default)
Parameters
Type Name Description
TimeSpan age
CancellationToken cancellationToken
Returns
Type Description
Task

RegisterDeviceAsync(DeviceInfo, CancellationToken)

Declaration
Task RegisterDeviceAsync(DeviceInfo deviceInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeviceInfo deviceInfo
CancellationToken cancellationToken
Returns
Type Description
Task

SendMessageAsync(IAsyncEnumerable<PushNotificationServiceRow>, PushNotificationMessage, bool, CancellationToken)

Declaration
Task SendMessageAsync(IAsyncEnumerable<PushNotificationServiceRow> rows, PushNotificationMessage message, bool usePredefinedMessageValues, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IAsyncEnumerable<PushNotificationServiceRow> rows
PushNotificationMessage message
bool usePredefinedMessageValues
CancellationToken cancellationToken
Returns
Type Description
Task

SendMessageAsync(IEnumerable<int>, PushNotificationMessage, bool, bool, CancellationToken)

Declaration
Task SendMessageAsync(IEnumerable<int> associateIds, PushNotificationMessage message, bool usePredefinedMessageValues, bool overrideTagSettings, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<int> associateIds
PushNotificationMessage message
bool usePredefinedMessageValues
bool overrideTagSettings
CancellationToken cancellationToken
Returns
Type Description
Task

SendMessageAsync(int, PushNotificationMessage, bool, CancellationToken)

Declaration
Task SendMessageAsync(int associateId, PushNotificationMessage message, bool overrideTagSettings, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int associateId
PushNotificationMessage message
bool overrideTagSettings
CancellationToken cancellationToken
Returns
Type Description
Task

SetTagsAsync(int, string, CancellationToken)

Declaration
Task SetTagsAsync(int associateId, string tags, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int associateId
string tags
CancellationToken cancellationToken
Returns
Type Description
Task

SetTagsAsync(string, string, CancellationToken)

Declaration
Task SetTagsAsync(string deviceIdentifier, string tags, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string deviceIdentifier
string tags
CancellationToken cancellationToken
Returns
Type Description
Task

UpdateSentNotificationCount(string, int, CancellationToken)

Declaration
Task UpdateSentNotificationCount(string deviceIdentifier, int notificationCount, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string deviceIdentifier
int notificationCount
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

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