C# Class Microsoft.WindowsAzure.Samples.Phone.Notifications.PushClient

Inheritance: IPushClient
Mostra file Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets

Public Methods

Method Description
PushClient ( Uri endpointsServiceUri, Action signRequestDelegate, string applicationId, string clientId, string deviceType, Dispatcher dispatcher = null ) : System
Register ( Action callback, Uri tileNavigationUri = null ) : void
Unregister ( Action callback, Uri tileNavigationUri = null ) : void

Protected Methods

Method Description
DispatchCallback ( Action callback, PushRegistrationResponse response ) : void
ResolveRequest ( Uri requestUri ) : HttpWebRequest

Private Methods

Method Description
DeleteEndpoint ( Action callback, Uri tileNavigationUri ) : void
PutEndpoint ( Uri tileNavigationUri, Action callback ) : void

Method Details

DispatchCallback() protected method

protected DispatchCallback ( Action callback, PushRegistrationResponse response ) : void
callback Action
response PushRegistrationResponse
return void

PushClient() public method

public PushClient ( Uri endpointsServiceUri, Action signRequestDelegate, string applicationId, string clientId, string deviceType, Dispatcher dispatcher = null ) : System
endpointsServiceUri System.Uri
signRequestDelegate Action
applicationId string
clientId string
deviceType string
dispatcher System.Windows.Threading.Dispatcher
return System

Register() public method

public Register ( Action callback, Uri tileNavigationUri = null ) : void
callback Action
tileNavigationUri System.Uri
return void

ResolveRequest() protected method

protected ResolveRequest ( Uri requestUri ) : HttpWebRequest
requestUri System.Uri
return System.Net.HttpWebRequest

Unregister() public method

public Unregister ( Action callback, Uri tileNavigationUri = null ) : void
callback Action
tileNavigationUri System.Uri
return void