DSCUrlDownloadingTask

open class DSCUrlDownloadingTask : MPDataSetCacheTask

Concrete implementation of MPDataSetCacheTask to handle download tasks. This is used to download a url to a file path, from where we will read the data from later on, when the data is needed in the SDK.

Deprecated

Constructors

Link copied to clipboard
open fun DSCUrlDownloadingTask()
Default constructor for the JobService to use

Functions

Link copied to clipboard
open fun bindIsolatedService(    service: Intent,     flags: Int,     instanceName: String,     executor: Executor,     conn: ServiceConnection): Boolean
Link copied to clipboard
open fun bindService(    service: Intent,     conn: ServiceConnection,     flags: Int): Boolean
Link copied to clipboard
open fun bindServiceAsUser(    service: Intent,     conn: ServiceConnection,     flags: Int,     user: UserHandle): Boolean
Link copied to clipboard
open fun checkCallingOrSelfPermission(permission: String): Int
Link copied to clipboard
open fun checkCallingOrSelfUriPermission(uri: Uri, modeFlags: Int): Int
Link copied to clipboard
open fun checkCallingOrSelfUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
Link copied to clipboard
open fun checkCallingPermission(permission: String): Int
Link copied to clipboard
open fun checkCallingUriPermission(uri: Uri, modeFlags: Int): Int
Link copied to clipboard
open fun checkCallingUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
Link copied to clipboard
open fun checkPermission(    permission: String,     pid: Int,     uid: Int): Int
Link copied to clipboard
open fun checkSelfPermission(permission: String): Int
Link copied to clipboard
open fun checkUriPermission(    uri: Uri,     pid: Int,     uid: Int,     modeFlags: Int): Int
Link copied to clipboard
open fun checkUriPermissions(    uris: List<Uri>,     pid: Int,     uid: Int,     modeFlags: Int): Array<Int>
Link copied to clipboard
open fun clearWallpaper()
Link copied to clipboard
open fun createAttributionContext(attributionTag: String): Context
Link copied to clipboard
open fun createConfigurationContext(overrideConfiguration: Configuration): Context
Link copied to clipboard
open fun createContext(contextParams: ContextParams): Context
Link copied to clipboard
open fun createContextForSplit(splitName: String): Context
Link copied to clipboard
open fun createDeviceProtectedStorageContext(): Context
Link copied to clipboard
open fun createDisplayContext(display: Display): Context
Link copied to clipboard
open fun createPackageContext(packageName: String, flags: Int): Context
Link copied to clipboard
open fun createWindowContext(type: Int, options: Bundle): Context
Link copied to clipboard
open fun databaseList(): Array<String>
Link copied to clipboard
open fun deleteDatabase(name: String): Boolean
Link copied to clipboard
open fun deleteFile(name: String): Boolean
Link copied to clipboard
open fun deleteSharedPreferences(name: String): Boolean
Link copied to clipboard
open fun enforceCallingOrSelfPermission(permission: String, message: String)
Link copied to clipboard
open fun enforceCallingOrSelfUriPermission(    uri: Uri,     modeFlags: Int,     message: String)
Link copied to clipboard
open fun enforceCallingPermission(permission: String, message: String)
Link copied to clipboard
open fun enforceCallingUriPermission(    uri: Uri,     modeFlags: Int,     message: String)
Link copied to clipboard
open fun enforcePermission(    permission: String,     pid: Int,     uid: Int,     message: String)
Link copied to clipboard
open fun enforceUriPermission(    uri: Uri,     pid: Int,     uid: Int,     modeFlags: Int,     message: String)
Link copied to clipboard
open fun fileList(): Array<String>
Link copied to clipboard
fun getApplication(): Application
Link copied to clipboard
open fun getApplicationContext(): Context
Link copied to clipboard
open fun getApplicationInfo(): ApplicationInfo
Link copied to clipboard
open fun getAssets(): AssetManager
Link copied to clipboard
open fun getAttributionSource(): AttributionSource
Link copied to clipboard
open fun getAttributionTag(): String
Link copied to clipboard
open fun getBaseContext(): Context
Link copied to clipboard
open fun getCacheDir(): File
Link copied to clipboard
open fun getClassLoader(): ClassLoader
Link copied to clipboard
open fun getCodeCacheDir(): File
Link copied to clipboard
fun getColor(id: Int): Int
Link copied to clipboard
fun getColorStateList(id: Int): ColorStateList
Link copied to clipboard
open fun getContentResolver(): ContentResolver
Link copied to clipboard
open fun getDatabasePath(name: String): File
Link copied to clipboard
open fun getDataDir(): File
Link copied to clipboard
open fun getDir(name: String, mode: Int): File
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
fun getDrawable(id: Int): Drawable
Link copied to clipboard
open fun getExternalCacheDir(): File
Link copied to clipboard
open fun getExternalCacheDirs(): Array<File>
Link copied to clipboard
open fun getExternalFilesDir(type: String): File
Link copied to clipboard
open fun getExternalFilesDirs(type: String): Array<File>
Link copied to clipboard
open fun getExternalMediaDirs(): Array<File>
Link copied to clipboard
open fun getFilesDir(): File
Link copied to clipboard
open fun getFileStreamPath(name: String): File
Link copied to clipboard
fun getForegroundServiceType(): Int
Link copied to clipboard
open fun getMainExecutor(): Executor
Link copied to clipboard
open fun getMainLooper(): Looper
Link copied to clipboard
open fun getNoBackupFilesDir(): File
Link copied to clipboard
open fun getObbDir(): File
Link copied to clipboard
open fun getObbDirs(): Array<File>
Link copied to clipboard
open fun getOpPackageName(): String
Link copied to clipboard
open fun getPackageCodePath(): String
Link copied to clipboard
open fun getPackageManager(): PackageManager
Link copied to clipboard
open fun getPackageName(): String
Link copied to clipboard
open fun getPackageResourcePath(): String
Link copied to clipboard
open fun getParams(): ContextParams
Link copied to clipboard
open fun getResources(): Resources
Link copied to clipboard
open fun getSharedPreferences(name: String, mode: Int): SharedPreferences
Link copied to clipboard
fun getString(resId: Int): String
Link copied to clipboard
fun <T> getSystemService(serviceClass: Class<T>): T
open fun getSystemService(name: String): Any
Link copied to clipboard
open fun getSystemServiceName(serviceClass: Class<out Any>): String
Link copied to clipboard
fun getText(resId: Int): CharSequence
Link copied to clipboard
open fun getTheme(): Resources.Theme
Link copied to clipboard
open fun getWallpaper(): Drawable
Link copied to clipboard
open fun getWallpaperDesiredMinimumHeight(): Int
Link copied to clipboard
open fun getWallpaperDesiredMinimumWidth(): Int
Link copied to clipboard
open fun grantUriPermission(    toPackage: String,     uri: Uri,     modeFlags: Int)
Link copied to clipboard
open fun isDeviceProtectedStorage(): Boolean
Link copied to clipboard
open fun isRestricted(): Boolean
Link copied to clipboard
open fun isUiContext(): Boolean
Link copied to clipboard
fun jobFinished(params: JobParameters, wantsReschedule: Boolean)
Link copied to clipboard
open fun moveDatabaseFrom(sourceContext: Context, name: String): Boolean
Link copied to clipboard
open fun moveSharedPreferencesFrom(sourceContext: Context, name: String): Boolean
Link copied to clipboard
fun obtainStyledAttributes(attrs: Array<Int>): TypedArray
Link copied to clipboard
fun onBind(intent: Intent): IBinder
Link copied to clipboard
open fun onConfigurationChanged(newConfig: Configuration)
Link copied to clipboard
open fun onCreate()
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onLowMemory()
Link copied to clipboard
open fun onRebind(intent: Intent)
Link copied to clipboard
open fun onStart(intent: Intent, startId: Int)
Link copied to clipboard
open fun onStartCommand(    intent: Intent,     flags: Int,     startId: Int): Int
Link copied to clipboard
abstract fun onStartJob(p: JobParameters): Boolean

open fun onStartJob(params: JobParameters): Boolean
(Overridden method from super) Handles the actual work.
Link copied to clipboard
abstract fun onStopJob(p: JobParameters): Boolean

open fun onStopJob(params: JobParameters): Boolean
OnStopJob callback from the JobService - this can be overridden in the concrete classes to implement whatever features necessary.
Link copied to clipboard
open fun onTaskRemoved(rootIntent: Intent)
Link copied to clipboard
open fun onTrimMemory(level: Int)
Link copied to clipboard
open fun onUnbind(intent: Intent): Boolean
Link copied to clipboard
open fun openFileInput(name: String): FileInputStream
Link copied to clipboard
open fun openFileOutput(name: String, mode: Int): FileOutputStream
Link copied to clipboard
open fun openOrCreateDatabase(    name: String,     mode: Int,     factory: SQLiteDatabase.CursorFactory): SQLiteDatabase
Link copied to clipboard
open fun peekWallpaper(): Drawable
Link copied to clipboard
open fun registerComponentCallbacks(callback: ComponentCallbacks)
Link copied to clipboard
open fun registerReceiver(receiver: BroadcastReceiver, filter: IntentFilter): Intent
Link copied to clipboard
open fun removeStickyBroadcast(intent: Intent)
Link copied to clipboard
open fun removeStickyBroadcastAsUser(intent: Intent, user: UserHandle)
Link copied to clipboard
open fun revokeUriPermission(uri: Uri, modeFlags: Int)
Link copied to clipboard
open fun sendBroadcast(intent: Intent)
Link copied to clipboard
open fun sendBroadcastAsUser(intent: Intent, user: UserHandle)
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(intent: Intent, receiverPermissions: Array<String>)
Link copied to clipboard
open fun sendOrderedBroadcast(intent: Intent, receiverPermission: String)
Link copied to clipboard
open fun sendOrderedBroadcastAsUser(    intent: Intent,     user: UserHandle,     receiverPermission: String,     resultReceiver: BroadcastReceiver,     scheduler: Handler,     initialCode: Int,     initialData: String,     initialExtras: Bundle)
Link copied to clipboard
open fun sendStickyBroadcast(intent: Intent)
Link copied to clipboard
open fun sendStickyBroadcastAsUser(intent: Intent, user: UserHandle)
Link copied to clipboard
open fun sendStickyOrderedBroadcast(    intent: Intent,     resultReceiver: BroadcastReceiver,     scheduler: Handler,     initialCode: Int,     initialData: String,     initialExtras: Bundle)
Link copied to clipboard
open fun sendStickyOrderedBroadcastAsUser(    intent: Intent,     user: UserHandle,     resultReceiver: BroadcastReceiver,     scheduler: Handler,     initialCode: Int,     initialData: String,     initialExtras: Bundle)
Link copied to clipboard
open fun setTheme(resid: Int)
Link copied to clipboard
open fun setWallpaper(bitmap: Bitmap)
Link copied to clipboard
open fun startActivities(intents: Array<Intent>)
Link copied to clipboard
open fun startActivity(intent: Intent)
Link copied to clipboard
fun startForeground(id: Int, notification: Notification)
Link copied to clipboard
open fun startForegroundService(service: Intent): ComponentName
Link copied to clipboard
open fun startInstrumentation(    className: ComponentName,     profileFile: String,     arguments: Bundle): Boolean
Link copied to clipboard
open fun startIntentSender(    intent: IntentSender,     fillInIntent: Intent,     flagsMask: Int,     flagsValues: Int,     extraFlags: Int)
Link copied to clipboard
open fun startService(service: Intent): ComponentName
Link copied to clipboard
fun stopForeground(removeNotification: Boolean)
Link copied to clipboard
fun stopSelf()
Link copied to clipboard
fun stopSelfResult(startId: Int): Boolean
Link copied to clipboard
open fun stopService(name: Intent): Boolean
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unbindService(conn: ServiceConnection)
Link copied to clipboard
open fun unregisterComponentCallbacks(callback: ComponentCallbacks)
Link copied to clipboard
open fun unregisterReceiver(receiver: BroadcastReceiver)
Link copied to clipboard
open fun updateServiceGroup(    conn: ServiceConnection,     group: Int,     importance: Int)