io.github.jav.exposerversdk.enums.ReceiptError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of expo-server-sdk Show documentation
Show all versions of expo-server-sdk Show documentation
Java implementation of expo-server-sdk implementation.
Classes and methods to manage push notifications
The newest version!
package io.github.jav.exposerversdk.enums;
import com.fasterxml.jackson.annotation.JsonProperty;
public enum ReceiptError {
@JsonProperty("DeviceNotRegistered")
DEVICENOTREGISTERED("DeviceNotRegistered"),
@JsonProperty("MessageTooBig")
MESSAGETOOBIG("MessageTooBig"),
@JsonProperty("MessageRateExceeded")
MESSAGERATEEXCEEDED("MessageRateExceeded"),
@JsonProperty("InvalidCredentials")
INVALIDCREDENTIALS("InvalidCredentials"),
@JsonProperty("InvalidProviderToken")
INVALIDPROVIDERTOKEN("InvalidProviderToken");
private String error;
private ReceiptError(String error) {
this.error = error;
}
@Override
public String toString(){
return error;
}
}