API reference

PushNotificationStatusCode Enum

PushNotificationStatusCode represents the set of status codes returned by the pushnotification API.

Signature

enum PushNotificationStatusCode : Enum<PushNotificationStatusCode> 

Enumeration Constants

MemberDescription
Success
The operation completed successfully. This is a common status code. It can be returned by any Platform SDK method.
InternalError
An internal error occurred. This is a common status code. It can be returned by any Platform SDK method.
NotInitialized
The platform is not initialized. This is a common status code. It can be returned by any Platform SDK method.
EntitlementFailure
Entitlement check failed. This is a common status code. It can be returned by any Platform SDK method.
RateLimitExceeded
Rate limit exceeded. This is a common status code. It can be returned by any Platform SDK method.
Forbidden
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
NetworkUnavailable
No network connection available. This is a common status code. It can be returned by any Platform SDK method.
ProviderUnknownError
Unknown error. This is a common status code. It can be returned by any Platform SDK method.
ProviderFeatureNotEnabled
Feature is disabled for the current user. This is a common status code. It can be returned by any Platform SDK method.
ProviderOperationNotSupported
Operation is not supported. This is a common status code. It can be returned by any Platform SDK method.
ProviderInitializationFailed
Failed to initialize provider. This is a common status code. It can be returned by any Platform SDK method.
ProviderGraphApiError
Graph API error. This is a common status code. It can be returned by any Platform SDK method.
AppIdEmptyOrBlank
App ID empty or blank error. This error occurs when the application ID provided for push notification registration is empty or contains only whitespace characters.
TargetIdEmptyOrBlank
Target ID empty or blank error. This error occurs when the notification target ID returned from the backend is null, empty, or contains only whitespace.
RegisterNotificationFailed
Register notification failed error. This error occurs when the push notification registration request to the backend fails. This could be due to network issues, backend service errors, or invalid request parameters.
UnregisterNotificationFailed
Unregister notification failed error. This error occurs when the push notification unregistration request to the backend fails. This could be due to network issues, backend service errors, or the notification target not being found.

Properties

value : Int
[Get]
Signature
val value: Int