NowServiceError class - Android
The NowServiceError sealed class that returns NowSDK errors.
| Name | Type | Description |
|---|---|---|
| cause | Throwable | Cause of the error. |
| message | String | Message that contains the error details to display to the user. |
| Type | Description |
|---|---|
| SDKNotConfigured | The NowSDK was not configured. NowSDK.configure() was not called before creating the service. |
| ServiceConfigurationInvalid | The NowSDK was configured with invalid setting, such as a malformed instance URL. |
| ServiceDisabled | The associated service is turned off. If returned by NowVoiceSDK - makeVoiceService(instanceURL: URL), voice is turned off on the instance. To use NowVoice, |
| ServiceSettingsInvalid | Unable to process the service settings. If returned by NowVoiceSDK - makeVoiceService(instanceURL: URL), the |
| ServiceSettingsNotFound | The instance doesn't have sdk.voice settings configured. |
| ServiceSettingsRetrievalFailed | A network or authentication error occurred. Unable to retrieve the NowSDK service settings from the ServiceNow instance. |