com.jdroid.javaweb.google.gcm.GcmResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-java-webapp Show documentation
Show all versions of jdroid-java-webapp Show documentation
Jdroid library for Java Web apps
The newest version!
package com.jdroid.javaweb.google.gcm;
public class GcmResult {
// String specifying a unique ID for each successfully processed message.
private String messageId;
// Optional string specifying the canonical registration token for the client app that the message
// was processed and sent to. Sender should use this value as the registration token for future requests.
// Otherwise, the messages might be rejected.
private String registrationId;
// String specifying the error that occurred when processing the message for the recipient.
// The possible values are https://developers.google.com/cloud-messaging/http-server-ref#table9
private String error;
public String getMessageId() {
return messageId;
}
public String getRegistrationId() {
return registrationId;
}
public String getError() {
return error;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
public void setRegistrationId(String registrationId) {
this.registrationId = registrationId;
}
public void setError(String error) {
this.error = error;
}
}