- GCM_SEND_ENDPOINT - Static variable in class com.google.android.gcm.server.Constants
-
Endpoint for sending messages.
- getBadge() - Method in class com.google.android.gcm.server.Notification
-
Gets the badge.
- getBody() - Method in class com.google.android.gcm.server.Notification
-
Gets the body.
- getBodyLocArgs() - Method in class com.google.android.gcm.server.Notification
-
Gets the body localization values list, which is immutable.
- getBodyLocKey() - Method in class com.google.android.gcm.server.Notification
-
Gets the body localization key.
- getCanonicalIds() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the number of successful messages that also returned a canonical
registration id.
- getCanonicalRegistrationId() - Method in class com.google.android.gcm.server.Result
-
Gets the canonical registration id, if any.
- getClickAction() - Method in class com.google.android.gcm.server.Notification
-
Gets the click action.
- getCollapseKey() - Method in class com.google.android.gcm.server.Message
-
Gets the collapse key.
- getColor() - Method in class com.google.android.gcm.server.Notification
-
Gets the color.
- getConnection(String) - Method in class com.google.android.gcm.server.Sender
-
Gets an HttpURLConnection given an URL.
- getData() - Method in class com.google.android.gcm.server.Message
-
Gets the payload data, which is immutable.
- getDescription() - Method in exception com.google.android.gcm.server.InvalidRequestException
-
Gets the error description.
- getErrorCodeName() - Method in class com.google.android.gcm.server.Result
-
Gets the error code, if any.
- getFailedRegistrationIds() - Method in class com.google.android.gcm.server.Result
-
- getFailure() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the number of failed messages.
- getFailure() - Method in class com.google.android.gcm.server.Result
-
- getHttpStatusCode() - Method in exception com.google.android.gcm.server.InvalidRequestException
-
Gets the HTTP Status Code.
- getIcon() - Method in class com.google.android.gcm.server.Notification
-
Gets the icon.
- getMessageId() - Method in class com.google.android.gcm.server.Result
-
Gets the message id, if any.
- getMulticastId() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the multicast id.
- getNotification() - Method in class com.google.android.gcm.server.Message
-
Gets notification payload, which is immutable.
- getPriority() - Method in class com.google.android.gcm.server.Message
-
Gets the message priority value.
- getRestrictedPackageName() - Method in class com.google.android.gcm.server.Message
-
Gets the restricted package name.
- getResults() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the results of each individual message, which is immutable.
- getRetryMulticastIds() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets additional ids if more than one multicast message was sent.
- getSound() - Method in class com.google.android.gcm.server.Notification
-
Gets the sound.
- getString(InputStream) - Static method in class com.google.android.gcm.server.Sender
-
Convenience method to convert an InputStream to a String.
- getSuccess() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the number of successful messages.
- getSuccess() - Method in class com.google.android.gcm.server.Result
-
- getTag() - Method in class com.google.android.gcm.server.Notification
-
Gets the tag.
- getTimeToLive() - Method in class com.google.android.gcm.server.Message
-
Gets the time to live (in seconds).
- getTitle() - Method in class com.google.android.gcm.server.Notification
-
Gets the title.
- getTitleLocArgs() - Method in class com.google.android.gcm.server.Notification
-
Gets the title localization values list, which is immutable.
- getTitleLocKey() - Method in class com.google.android.gcm.server.Notification
-
Gets the title localization key.
- getTotal() - Method in class com.google.android.gcm.server.MulticastResult
-
Gets the total number of messages sent, regardless of the status.
- JSON_CANONICAL_IDS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the number of messages with a canonical
registration id.
- JSON_ERROR - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the error field of an individual request.
- JSON_FAILURE - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the number of failed messages.
- JSON_MESSAGE_ID - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field sent by GCM when a message was successfully sent.
- JSON_MULTICAST_ID - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the id of the multicast request.
- JSON_NOTIFICATION - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification payload.
- JSON_NOTIFICATION_BADGE - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification badge.
- JSON_NOTIFICATION_BODY - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification body.
- JSON_NOTIFICATION_BODY_LOC_ARGS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification body localization values.
- JSON_NOTIFICATION_BODY_LOC_KEY - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification body localization key.
- JSON_NOTIFICATION_CLICK_ACTION - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification click action.
- JSON_NOTIFICATION_COLOR - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification color.
- JSON_NOTIFICATION_ICON - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification icon.
- JSON_NOTIFICATION_SOUND - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification sound.
- JSON_NOTIFICATION_TAG - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification tag.
- JSON_NOTIFICATION_TITLE - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification title.
- JSON_NOTIFICATION_TITLE_LOC_ARGS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification title localization values.
- JSON_NOTIFICATION_TITLE_LOC_KEY - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the notification title localization key.
- JSON_PAYLOAD - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the payload data.
- JSON_REGISTRATION_IDS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the registration ids.
- JSON_RESULTS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the result of each individual request.
- JSON_SUCCESS - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the number of successful messages.
- JSON_TO - Static variable in class com.google.android.gcm.server.Constants
-
JSON-only field representing the to recipient.