프로퍼티 | 타입 | 설명 | |
---|---|---|---|
running | bool |
메소드 | 설명 | |
---|---|---|
C2dmService ( ) : System | ||
C2dmService ( string senderID, string password, string applicationID ) : System |
Ctor
|
|
QueueMessage ( |
Queues a new C2DM Message to be sent
|
|
QueueMessage ( string registrationId, |
Queues a new C2DM Message to be sent
|
|
QueueMessage ( string registrationId, |
Queues a new C2DM Message to be sent
|
|
RefreshGoogleAuthToken ( ) : void |
Explicitly refreshes the Google Auth Token. Usually not necessary.
|
|
SetNumberOfWorkers ( int value ) : void |
Increase or decrease the number of workers to process queued messages.
|
|
Start ( ) : void | ||
Start ( int numberOfWorkers ) : void |
Starts the specified number of workers ready to send queued messages
|
|
Stop ( ) : void |
Stops all workers and the service, without waiting for queued messages to be sent.
|
메소드 | 설명 | |
---|---|---|
init ( string senderID, string password, string applicationID ) : void | ||
messageTransportWork ( object state ) : void |
public C2dmService ( string senderID, string password, string applicationID ) : System | ||
senderID | string | Email address (google account) used to sign up for Google's C2DM application Whitelist |
password | string | Password used to login with Email |
applicationID | string | Application (Package Name) used to sign up for Google's C2DM Whitelist |
리턴 | System |
public QueueMessage ( |
||
msg | Constructed C2dmMessage parameter | |
리턴 | void |
public QueueMessage ( string registrationId, |
||
registrationId | string | Registration ID of the Device |
data | Key/Value Collection of data or 'extras' to send | |
collapseKey | string | Collapse Key |
리턴 | void |
public QueueMessage ( string registrationId, |
||
registrationId | string | Registration ID of the Device |
data | Key/Value Collection of data or 'extras' to send | |
collapseKey | string | Collapse Key |
delayWhileIdle | bool | If true, C2DM will only be delivered once the device's screen is on |
리턴 | void |
public SetNumberOfWorkers ( int value ) : void | ||
value | int | New Value for the number of workers to use |
리턴 | void |
public Start ( int numberOfWorkers ) : void | ||
numberOfWorkers | int | Number of Workers |
리턴 | void |