Enumerations
The following enumerations are available globally.
-
Definition of all Newton Error
- NewtonNotInitialized Error stating that Newton singleton is not initialized
- NewtonInitializationError Error in initialization
- SimpleObjectCreationError: Error in creation of a Simple Object
- SimpleObjectSerializationError: Error in retrieving simple object from a serialization
- EventCreationError: Error in creation of an Event Object
- EventFlowInconsistance: Inconsistance Error when creating a Analytic Flow Event
- EventTimedInconsistance: Inconsistance Error when creating a Analytic Timed Event
- EventAnalyticError: Error in Analytics
- InvalidQueueHandler: Error in access to Event Queue
- StorageError: Error in access to disk storage
- InvalidFunctionCalled: <#InvalidFunctionCalled description#>
- InvalidEvent: Error Event is not valid
- AnalyticError: Error in Analytic
- ConnectionInitError: Error in estabilishing connection
- ConnectionError: Error in connection
- ConnectionResponseError: Error in response from server
- ConnectionValidationError: Inconsistance in Parameters passed to connection
- ConnectionDomainWarning: Error when response is not received from Newton servers
- NewtonServerError: Internal Newton Server Error
- QueueError: Error in Event Queue
- LoginBuilderError: Error in building a Login Flow
- LoginFlowUnknownError: Login Flow Error not handled by Newton
- InvalidLoginFlowResponse: Error in response received from a Login Flow
- InvalidForgotFlowResponse: Error in response received from a Forgot Flow
- OAuthError: Error in OAuth procedure
- UserMetaInfoSerializationError: Error in serialization of User Meta Info
- UserMetaInfoError: Error in User Meta Info
- AutologinError: Error in Autologin Process
- AutologinServerError: Error in response of an Autologin Process
- AutologinTokenExpired: Error Autologin Token has expired
- AutologinInternalError: Internal Error in Autologin
- LogoutError: Error in logging out User
- NotificationError: Error in a GCD Notification
- SyncUserStateError: Error in Synchronizing User State
- UserDeleteError: Error in User Delete
- PushNotificationError: Error in Push Notification
- PushNotificationDeviceRegistrationError: Error in Push Notification Device Registration
- MSISDNLoginError: Error in MSISDN Login Flow
- MSISDNLoginWrongPINError: Error MSISDN PIN is not valid
- MSISDNError: Internal Error in MSISDN Login FLow
- MSISDNForgotError: Error in Forgot PIN Flow
- MSISDNForgotMaxPINReachedError: Error max SMS sent for MSISDN Forgot PIN Flow
- MSISDNUserRecognitionFailed: Error User Telephone number has not been recognized
Declaration
Swift
public enum NWError : Error
-
Handling of external errors (TO BE DEFINED)
- Initialization: (TO BE DEFINED)
- SimpleObject: (TO BE DEFINED)
Declaration
Swift
public enum NewtonError : Error
-
Handling of internal errors (TO BE DEFINED)
Declaration
Swift
public enum InternalError : Error
-
Undocumented
See moreDeclaration
Swift
public enum AttachType : String
-
Undocumented
See moreDeclaration
Swift
public enum NWNotification : String
-
The type of marketplace involved in In App Purchase
See moreDeclaration
Swift
public enum MarketPlace : String
-
The kind of push supported by Newton
- Standard: A push notification with Alert and badge
- Url: Rich push notification with a URL to be redirected
- Background: Silent push notificaiton received in background
- Ping: Silent push notification for internal use
Declaration
Swift
public enum PushNotificationType