Bitmovin Download Service
Android Service that handles downloading content for offline playback. Can be extended to implement custom notification behaviour.
Constructors
BitmovinDownloadService
Link copied to clipboard
open fun BitmovinDownloadService()
Content copied to clipboard
Properties
DEFAULT_REQUIREMENTS
Link copied to clipboard
Functions
getRequirements
Link copied to clipboard
Inherited functions
bindIsolatedService
Link copied to clipboard
open fun bindIsolatedService(service: Intent, flags: Int, instanceName: String, executor: Executor, conn: ServiceConnection): Boolean
Content copied to clipboard
bindService
Link copied to clipboard
open fun bindService(service: Intent, conn: ServiceConnection, flags: Int): Boolean
Content copied to clipboard
buildAddDownloadIntent
Link copied to clipboard
open fun buildAddDownloadIntent(context: Context, clazz: Class<out DownloadService>, downloadRequest: DownloadRequest, foreground: Boolean): Intent
Content copied to clipboard
buildPauseDownloadsIntent
Link copied to clipboard
open fun buildPauseDownloadsIntent(context: Context, clazz: Class<out DownloadService>, foreground: Boolean): Intent
Content copied to clipboard
buildRemoveAllDownloadsIntent
Link copied to clipboard
open fun buildRemoveAllDownloadsIntent(context: Context, clazz: Class<out DownloadService>, foreground: Boolean): Intent
Content copied to clipboard
buildRemoveDownloadIntent
Link copied to clipboard
buildResumeDownloadsIntent
Link copied to clipboard
open fun buildResumeDownloadsIntent(context: Context, clazz: Class<out DownloadService>, foreground: Boolean): Intent
Content copied to clipboard
buildSetRequirementsIntent
Link copied to clipboard
open fun buildSetRequirementsIntent(context: Context, clazz: Class<out DownloadService>, requirements: Requirements, foreground: Boolean): Intent
Content copied to clipboard
buildSetStopReasonIntent
Link copied to clipboard
checkCallingOrSelfPermission
Link copied to clipboard
checkCallingOrSelfUriPermission
Link copied to clipboard
checkCallingPermission
Link copied to clipboard
checkCallingUriPermission
Link copied to clipboard
checkPermission
Link copied to clipboard
checkSelfPermission
Link copied to clipboard
checkUriPermission
Link copied to clipboard
clearWallpaper
Link copied to clipboard
open fun clearWallpaper()
Content copied to clipboard
createConfigurationContext
Link copied to clipboard
open fun createConfigurationContext(overrideConfiguration: Configuration): Context
Content copied to clipboard
createContextForSplit
Link copied to clipboard
createDeviceProtectedStorageContext
Link copied to clipboard
createDisplayContext
Link copied to clipboard
createPackageContext
Link copied to clipboard
databaseList
Link copied to clipboard
deleteDatabase
Link copied to clipboard
deleteFile
Link copied to clipboard
deleteSharedPreferences
Link copied to clipboard
enforceCallingOrSelfPermission
Link copied to clipboard
open fun enforceCallingOrSelfPermission(permission: String, message: String)
Content copied to clipboard
enforceCallingOrSelfUriPermission
Link copied to clipboard
open fun enforceCallingOrSelfUriPermission(uri: Uri, modeFlags: Int, message: String)
Content copied to clipboard
enforceCallingPermission
Link copied to clipboard
enforceCallingUriPermission
Link copied to clipboard
open fun enforceCallingUriPermission(uri: Uri, modeFlags: Int, message: String)
Content copied to clipboard
enforcePermission
Link copied to clipboard
open fun enforcePermission(permission: String, pid: Int, uid: Int, message: String)
Content copied to clipboard
enforceUriPermission
Link copied to clipboard
getApplication
Link copied to clipboard
getApplicationContext
Link copied to clipboard
getApplicationInfo
Link copied to clipboard
getAssets
Link copied to clipboard
getBaseContext
Link copied to clipboard
getCacheDir
Link copied to clipboard
getClassLoader
Link copied to clipboard
getCodeCacheDir
Link copied to clipboard
getColorStateList
Link copied to clipboard
getContentResolver
Link copied to clipboard
getDatabasePath
Link copied to clipboard
getDataDir
Link copied to clipboard
getDownloadManager
Link copied to clipboard
getDrawable
Link copied to clipboard
getExternalCacheDir
Link copied to clipboard
getExternalCacheDirs
Link copied to clipboard
getExternalFilesDir
Link copied to clipboard
getExternalFilesDirs
Link copied to clipboard
getExternalMediaDirs
Link copied to clipboard
getFilesDir
Link copied to clipboard
getFileStreamPath
Link copied to clipboard
getForegroundServiceType
Link copied to clipboard
getMainExecutor
Link copied to clipboard
getMainLooper
Link copied to clipboard
getNoBackupFilesDir
Link copied to clipboard
getObbDirs
Link copied to clipboard
getOpPackageName
Link copied to clipboard
getPackageCodePath
Link copied to clipboard
getPackageManager
Link copied to clipboard
getPackageName
Link copied to clipboard
getPackageResourcePath
Link copied to clipboard
getRequirements
Link copied to clipboard
getResources
Link copied to clipboard
getScheduler
Link copied to clipboard
getSharedPreferences
Link copied to clipboard
open fun getSharedPreferences(name: String, mode: Int): SharedPreferences
Content copied to clipboard
getSystemService
Link copied to clipboard
getSystemServiceName
Link copied to clipboard
getText
Link copied to clipboard
getTheme
Link copied to clipboard
getWallpaper
Link copied to clipboard
getWallpaperDesiredMinimumHeight
Link copied to clipboard
getWallpaperDesiredMinimumWidth
Link copied to clipboard
grantUriPermission
Link copied to clipboard
isDeviceProtectedStorage
Link copied to clipboard
isRestricted
Link copied to clipboard
moveDatabaseFrom
Link copied to clipboard
moveSharedPreferencesFrom
Link copied to clipboard
open fun moveSharedPreferencesFrom(sourceContext: Context, name: String): Boolean
Content copied to clipboard
obtainStyledAttributes
Link copied to clipboard
onConfigurationChanged
Link copied to clipboard
onDownloadChanged
Link copied to clipboard
open fun onDownloadChanged(downloadManager: Null, download: Null, finalException: Null)
Content copied to clipboard
onDownloadRemoved
Link copied to clipboard
onDownloadsPausedChanged
Link copied to clipboard
open fun onDownloadsPausedChanged(downloadManager: DownloadManager, downloadsPaused: Boolean)
Content copied to clipboard
onInitialized
Link copied to clipboard
onLowMemory
Link copied to clipboard
open fun onLowMemory()
Content copied to clipboard
onRequirementsStateChanged
Link copied to clipboard
open fun onRequirementsStateChanged(downloadManager: DownloadManager, requirements: Requirements, notMetRequirements: Int)
Content copied to clipboard
onStartCommand
Link copied to clipboard
onTaskRemoved
Link copied to clipboard
onTrimMemory
Link copied to clipboard
onWaitingForRequirementsChanged
Link copied to clipboard
open fun onWaitingForRequirementsChanged(downloadManager: DownloadManager, waitingForRequirements: Boolean)
Content copied to clipboard
openFileInput
Link copied to clipboard
openFileOutput
Link copied to clipboard
openOrCreateDatabase
Link copied to clipboard
open fun openOrCreateDatabase(name: String, mode: Int, factory: SQLiteDatabase.CursorFactory): SQLiteDatabase
Content copied to clipboard
peekWallpaper
Link copied to clipboard
registerComponentCallbacks
Link copied to clipboard
registerReceiver
Link copied to clipboard
open fun registerReceiver(receiver: BroadcastReceiver, filter: IntentFilter): Intent
Content copied to clipboard
removeStickyBroadcast
Link copied to clipboard
removeStickyBroadcastAsUser
Link copied to clipboard
revokeUriPermission
Link copied to clipboard
sendAddDownload
Link copied to clipboard
open fun sendAddDownload(context: Context, clazz: Class<out DownloadService>, downloadRequest: DownloadRequest, foreground: Boolean)
Content copied to clipboard
sendBroadcast
Link copied to clipboard
sendBroadcastAsUser
Link copied to clipboard
sendOrderedBroadcast
Link copied to clipboard
open fun sendOrderedBroadcast(intent: Intent, receiverPermission: String)
Content copied to clipboard
sendOrderedBroadcastAsUser
Link copied to clipboard
open fun sendOrderedBroadcastAsUser(intent: Intent, user: UserHandle, receiverPermission: String, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Content copied to clipboard
sendPauseDownloads
Link copied to clipboard
open fun sendPauseDownloads(context: Context, clazz: Class<out DownloadService>, foreground: Boolean)
Content copied to clipboard
sendRemoveAllDownloads
Link copied to clipboard
open fun sendRemoveAllDownloads(context: Context, clazz: Class<out DownloadService>, foreground: Boolean)
Content copied to clipboard
sendRemoveDownload
Link copied to clipboard
open fun sendRemoveDownload(context: Context, clazz: Class<out DownloadService>, id: String, foreground: Boolean)
Content copied to clipboard
sendResumeDownloads
Link copied to clipboard
open fun sendResumeDownloads(context: Context, clazz: Class<out DownloadService>, foreground: Boolean)
Content copied to clipboard
sendSetRequirements
Link copied to clipboard
open fun sendSetRequirements(context: Context, clazz: Class<out DownloadService>, requirements: Requirements, foreground: Boolean)
Content copied to clipboard
sendSetStopReason
Link copied to clipboard
sendStickyBroadcast
Link copied to clipboard
sendStickyBroadcastAsUser
Link copied to clipboard
sendStickyOrderedBroadcast
Link copied to clipboard
open fun sendStickyOrderedBroadcast(intent: Intent, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Content copied to clipboard
sendStickyOrderedBroadcastAsUser
Link copied to clipboard
open fun sendStickyOrderedBroadcastAsUser(intent: Intent, user: UserHandle, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Content copied to clipboard
setWallpaper
Link copied to clipboard
startActivities
Link copied to clipboard
startActivity
Link copied to clipboard
startForeground
Link copied to clipboard
open fun startForeground(context: Context, clazz: Class<out DownloadService>)
Content copied to clipboard
startForegroundService
Link copied to clipboard
startInstrumentation
Link copied to clipboard
open fun startInstrumentation(className: ComponentName, profileFile: String, arguments: Bundle): Boolean
Content copied to clipboard
startIntentSender
Link copied to clipboard
open fun startIntentSender(intent: IntentSender, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
Content copied to clipboard
startService
Link copied to clipboard
stopForeground
Link copied to clipboard
stopSelfResult
Link copied to clipboard
stopService
Link copied to clipboard
unbindService
Link copied to clipboard
unregisterComponentCallbacks
Link copied to clipboard
unregisterReceiver
Link copied to clipboard
updateServiceGroup
Link copied to clipboard
open fun updateServiceGroup(conn: ServiceConnection, group: Int, importance: Int)
Content copied to clipboard