RequestConfig

open class RequestConfig

A configuration class whose values are passed over to the android.app.DownloadManager in each request made.

Author

Sergio Martinez - smartinez@brightcove.com

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
List of values that can take the method setNotificationVisibility.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var downloadPath: File
The base path where the download video assets will be saved.
Link copied to clipboard
Link copied to clipboard
open var title: String
Link copied to clipboard
open var videoBitrate: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun copy(): RequestConfig
Creates a shallow copy of the current config.
Link copied to clipboard
Returns whether download over a bluetooth network is allowed.
Link copied to clipboard
Returns whether download over a metered network is allowed.
Link copied to clipboard
Returns whether download over a mobile network is allowed.
Link copied to clipboard
Returns whether download over a mobile roaming network is allowed.
Link copied to clipboard
Returns whether download over a WIFI network is allowed.
Link copied to clipboard
Sets whether download over bluetooth network is allowed.
Link copied to clipboard
open fun setMeteredDownloadAllowed(meteredDownloadAllowed: Boolean): RequestConfig
Sets whether download over metered is allowed.
Link copied to clipboard
Sets whether download over mobile network is allowed.
Link copied to clipboard
open fun setRoamingDownloadAllowed(roamingDownloadAllowed: Boolean): RequestConfig
Sets whether download over roaming is allowed.
Link copied to clipboard
Sets whether download over WIFI network is allowed.