C# Class OSAE.Android.GCMSender

Mostrar archivo Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
GCMSender ( ) : System
GCMSender ( string deviceToken, string apiKey ) : System
Send ( string message ) : string

Private Methods

Method Description
AssembleJSONPayload ( string gcmDeviceToken, string gcmBody ) : string
InitGCMClient ( ) : void
PostPayload ( string message ) : void
ReadResponse ( HttpWebResponse response ) : string

Method Details

GCMSender() public method

public GCMSender ( ) : System
return System

GCMSender() public method

public GCMSender ( string deviceToken, string apiKey ) : System
deviceToken string
apiKey string
return System

Send() public method

public Send ( string message ) : string
message string
return string