UploaderConfiguration

data class UploaderConfiguration(val isAutoUploadEnabled: Boolean, val isAutoUploadVideoEnabled: Boolean, val isCellularUploadEnabled: Boolean, val isRoamingUploadEnabled: Boolean, val videoUploadPriority: Float, val minBatteryLevel: Float, val maxRetryCount: Int) : Parcelable

A data model describing the uploader configuration.

Constructors

Link copied to clipboard
constructor(isAutoUploadEnabled: Boolean, isAutoUploadVideoEnabled: Boolean, isCellularUploadEnabled: Boolean, isRoamingUploadEnabled: Boolean, videoUploadPriority: Float, minBatteryLevel: Float, maxRetryCount: Int)

Properties

Link copied to clipboard

If true - auto-upload enabled. Default - false.

Link copied to clipboard

If true - video will be uploaded with auto uploader. Default - false.

Link copied to clipboard

If true - upload allowed when using cellular network. Default - false.

Link copied to clipboard

If true - upload allowed in roaming (using cellular network). Default - false.

Link copied to clipboard

Number of retries to upload a media file. Default - 3.

Link copied to clipboard

Stop auto-upload when battery level reaches the specified value. If 0.0 - not limited. Default - 0.3.

Link copied to clipboard

Controls how many uploaders dedicated to upload both photos and videos. The greater value, the more uploaders upload media including videos. Default - 0.5.