-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum FailedReason extends Enum<FailedReason>
A registration request may fail for different reasons.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VAPID_REQUIREDThe distributor requires a VAPID key and you didn't provide one during registration.
ACTION_REQUIREDThe distributor requires a user action to work. For instance, the distributor may be log out of the push server and requires the user to log in. The user must interact with the distributor or sending a new registration will fail again.
NETWORKThe registration failed because of missing network connection, try again when network is back.
INTERNAL_ERRORThis is a generic error type, you can try to register again directly.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-