class UserNotificationChannel

public sealed class UserNotificationChannel : IUserNotificationChannel

This class provides the notification change reader which handles the receiving and management of user notifications for the application.

Methods

CreateReader()

Create a user notification reader to receive and manage user notifications published by app server.

public UserNotificationReader CreateReader()

CreateReader(UserNotificationReaderOptions)

Create a user notification reader with options

public UserNotificationReader CreateReader(UserNotificationReaderOptions options)

CreateReaderWithState(String)

Create a user notification reader to receive and manage user notifications published by app server. The reader will start at the provided tracking state.

public UserNotificationReader CreateReaderWithState(String readerState)

GetUserNotificationAsync(String)

Get a user notification based on its id.

public IAsyncOperation<UserNotification> GetUserNotificationAsync(String notificationId)

DeleteUserNotificationAsync(String)

Get a user notification based on its id.

public IAsyncOperation<UserNotificationUpdateResult> DeleteUserNotificationAsync(String notificationId)

SyncScope()

Get the sync scope of this user notification channel.

public static IUserDataFeedSyncScope SyncScope()