# Constant Field Values

## Contents

- com.castlabs.*

## com.castlabs.*

- com.castlabs.sdk.downloader.Download
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `STATE_DONE`
  `3`
  `public static final int`
  `STATE_ERROR`
  `2`
  `public static final int`
  `STATE_IDLE`
  `4`
  `public static final int`
  `STATE_LOADING`
  `1`
  `public static final int`
  `STATE_QUEUED`
  `0`
- com.castlabs.sdk.downloader.DownloaderPlugin
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `DEFAULT_DOWNLOADER_THREADS_PRIORITY`
  `5`
  `public static final long`
  `DEFAULT_METADATA_PERSIST_INTERVAL_MS`
  `10000L`
  `public static final int`
  `DEFAULT_NUM_PARALLEL_DOWNLOADS`
  `10`
  `public static final int`
  `STORAGE_LOW_MODE_PAUSE`
  `1`
  `public static final int`
  `STORAGE_LOW_MODE_QUEUED`
  `2`
- com.castlabs.sdk.downloader.MessageHandler
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `ACTION_DOWNLOAD_COMPLETED`
  `"com.castlabs.downloads.action.completed"`
  `public static final String`
  `ACTION_DOWNLOAD_CREATED`
  `"com.castlabs.downloads.action.created"`
  `public static final String`
  `ACTION_DOWNLOAD_DELETED`
  `"com.castlabs.downloads.action.deleted"`
  `public static final String`
  `ACTION_DOWNLOAD_ERROR`
  `"com.castlabs.downloads.action.error"`
  `public static final String`
  `ACTION_DOWNLOAD_NO_PENDING`
  `"com.castlabs.downloads.action.no.pending"`
  `public static final String`
  `ACTION_DOWNLOAD_PATH_UPDATE`
  `"com.castlabs.downloads.action.path_update"`
  `public static final String`
  `ACTION_DOWNLOAD_PROGRESS`
  `"com.castlabs.downloads.action.progress"`
  `public static final String`
  `ACTION_DOWNLOAD_SERVICE_TIMEOUT`
  `"com.castlabs.downloads.action.service_timeout"`
  `public static final String`
  `ACTION_DOWNLOAD_STARTED`
  `"com.castlabs.downloads.action.started"`
  `public static final String`
  `ACTION_DOWNLOAD_STOPPED`
  `"com.castlabs.downloads.action.stopped"`
  `public static final String`
  `ACTION_DOWNLOAD_STORAGE_LOW`
  `"com.castlabs.downloads.action.storage_low"`
  `public static final String`
  `ACTION_DOWNLOAD_STORAGE_OK`
  `"com.castlabs.downloads.action.storage_ok"`
  `public static final int`
  `DOWNLOAD_UPDATE_PATH_RESULT_ERROR_DOWNLOAD_INVALID_STATE`
  `-2`
  `public static final int`
  `DOWNLOAD_UPDATE_PATH_RESULT_ERROR_DOWNLOAD_NOT_FOUND`
  `-1`
  `public static final int`
  `DOWNLOAD_UPDATE_PATH_RESULT_ERROR_DOWNLOAD_UNKNOWN`
  `0`
  `public static final int`
  `DOWNLOAD_UPDATE_PATH_RESULT_SUCCESS`
  `1`
  `public static final int`
  `ERROR_TYPE_CONNECTION_ERROR`
  `2`
  `public static final int`
  `ERROR_TYPE_DRM_ERROR`
  `3`
  `public static final int`
  `ERROR_TYPE_HTTP_ERROR`
  `1`
  `public static final int`
  `ERROR_TYPE_UNKNOWN_ERROR`
  `0`
  `public static final String`
  `INTENT_DOWNLOAD_CATEGORY`
  `"com.castlabs.intent.downloads"`
  `public static final String`
  `INTENT_DOWNLOAD_ERROR`
  `"com.castlabs.intent.error"`
  `public static final String`
  `INTENT_DOWNLOAD_ERROR_DRM`
  `"com.castlabs.intent.error.drm"`
  `public static final String`
  `INTENT_DOWNLOAD_ERROR_HTTP_STATUS`
  `"com.castlabs.intent.error.http_status"`
  `public static final String`
  `INTENT_DOWNLOAD_ERROR_HTTP_URL`
  `"com.castlabs.intent.error.http_url"`
  `public static final String`
  `INTENT_DOWNLOAD_ERROR_TYPE`
  `"com.castlabs.intent.error.type"`
  `public static final String`
  `INTENT_DOWNLOAD_ID`
  `"com.castlabs.intent.download_id"`
  `public static final String`
  `INTENT_DOWNLOAD_PATH_UPDATE_ERROR`
  `"com.castlabs.downloads.intent.path_update_error"`
  `public static final String`
  `INTENT_DOWNLOAD_PATH_UPDATE_RESULT`
  `"com.castlabs.downloads.intent.path_update_result"`