Skip to end of metadata
Go to start of metadata

Represents push notification service for windows phone.

Definition

public class PushNotificationProvider : IPushNotificationProvider, IDisposable

Summary

The following table summarizes the members exposed in this class.

Public Constructors

PushNotificationProvider Constructor() Initializes a new instance of the PushNotificationProvider class.

Public Methods

Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
OnRegistrationError(string) Called when device registration is failed.
OnRegistrationSuccess(DeviceToken) Called when device is registered.
RegisterDevice() Registers the device to push notification service server.

Public Constructors

public PushNotificationProvider()

Public Methods

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void OnRegistrationError(string errorMessage)

Called when device registration is failed.

Parameters

errorMessage The error message.

public void OnRegistrationSuccess(DeviceToken deviceToken)

Called when device is registered.

Parameters

deviceToken The device token.

public void RegisterDevice()

Registers the device to push notification service server.

  • No labels