FailedReason

A registration request may fail for different reasons.

Entries

Link copied to clipboard

This is a generic error type, you can try to register again directly.

Link copied to clipboard

The registration failed because of missing network connection, try again when network is back.

Link copied to clipboard

The 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.

Link copied to clipboard

The distributor requires a VAPID key and you didn't provide one during registration.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.