MoEWorker

open class MoEWorker : IntentService

Author

MoEngage (abhishek@moengage.com)

Constructors

MoEWorker
Link copied to clipboard
open fun MoEWorker()

Functions

bindIsolatedService
Link copied to clipboard
open fun bindIsolatedService(service: Intent, flags: Int, instanceName: String, executor: Executor, conn: ServiceConnection): Boolean
bindService
Link copied to clipboard
open fun bindService(service: Intent, conn: ServiceConnection, flags: Int): Boolean
checkCallingOrSelfPermission
Link copied to clipboard
open fun checkCallingOrSelfPermission(permission: String): Int
checkCallingOrSelfUriPermission
Link copied to clipboard
open fun checkCallingOrSelfUriPermission(uri: Uri, modeFlags: Int): Int
checkCallingPermission
Link copied to clipboard
open fun checkCallingPermission(permission: String): Int
checkCallingUriPermission
Link copied to clipboard
open fun checkCallingUriPermission(uri: Uri, modeFlags: Int): Int
checkPermission
Link copied to clipboard
open fun checkPermission(permission: String, pid: Int, uid: Int): Int
checkSelfPermission
Link copied to clipboard
open fun checkSelfPermission(permission: String): Int
checkUriPermission
Link copied to clipboard
open fun checkUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int): Int
clearWallpaper
Link copied to clipboard
open fun clearWallpaper()
createConfigurationContext
Link copied to clipboard
open fun createConfigurationContext(overrideConfiguration: Configuration): Context
createContextForSplit
Link copied to clipboard
open fun createContextForSplit(splitName: String): Context
createDeviceProtectedStorageContext
Link copied to clipboard
open fun createDeviceProtectedStorageContext(): Context
createDisplayContext
Link copied to clipboard
open fun createDisplayContext(display: Display): Context
createPackageContext
Link copied to clipboard
open fun createPackageContext(packageName: String, flags: Int): Context
databaseList
Link copied to clipboard
open fun databaseList(): Array<String>
deleteDatabase
Link copied to clipboard
open fun deleteDatabase(name: String): Boolean
deleteFile
Link copied to clipboard
open fun deleteFile(name: String): Boolean
deleteSharedPreferences
Link copied to clipboard
open fun deleteSharedPreferences(name: String): Boolean
enforceCallingOrSelfPermission
Link copied to clipboard
open fun enforceCallingOrSelfPermission(permission: String, message: String)
enforceCallingOrSelfUriPermission
Link copied to clipboard
open fun enforceCallingOrSelfUriPermission(uri: Uri, modeFlags: Int, message: String)
enforceCallingPermission
Link copied to clipboard
open fun enforceCallingPermission(permission: String, message: String)
enforceCallingUriPermission
Link copied to clipboard
open fun enforceCallingUriPermission(uri: Uri, modeFlags: Int, message: String)
enforcePermission
Link copied to clipboard
open fun enforcePermission(permission: String, pid: Int, uid: Int, message: String)
enforceUriPermission
Link copied to clipboard
open fun enforceUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int, message: String)
fileList
Link copied to clipboard
open fun fileList(): Array<String>
getApplication
Link copied to clipboard
fun getApplication(): Application
getApplicationContext
Link copied to clipboard
open fun getApplicationContext(): Context
getApplicationInfo
Link copied to clipboard
open fun getApplicationInfo(): ApplicationInfo
getAssets
Link copied to clipboard
open fun getAssets(): AssetManager
getBaseContext
Link copied to clipboard
open fun getBaseContext(): Context
getCacheDir
Link copied to clipboard
open fun getCacheDir(): File
getClassLoader
Link copied to clipboard
open fun getClassLoader(): ClassLoader
getCodeCacheDir
Link copied to clipboard
open fun getCodeCacheDir(): File
getColor
Link copied to clipboard
fun getColor(id: Int): Int
getColorStateList
Link copied to clipboard
fun getColorStateList(id: Int): ColorStateList
getContentResolver
Link copied to clipboard
open fun getContentResolver(): ContentResolver
getDatabasePath
Link copied to clipboard
open fun getDatabasePath(name: String): File
getDataDir
Link copied to clipboard
open fun getDataDir(): File
getDir
Link copied to clipboard
open fun getDir(name: String, mode: Int): File
getDrawable
Link copied to clipboard
fun getDrawable(id: Int): Drawable
getExternalCacheDir
Link copied to clipboard
open fun getExternalCacheDir(): File
getExternalCacheDirs
Link copied to clipboard
open fun getExternalCacheDirs(): Array<File>
getExternalFilesDir
Link copied to clipboard
open fun getExternalFilesDir(type: String): File
getExternalFilesDirs
Link copied to clipboard
open fun getExternalFilesDirs(type: String): Array<File>
getExternalMediaDirs
Link copied to clipboard
open fun getExternalMediaDirs(): Array<File>
getFilesDir
Link copied to clipboard
open fun getFilesDir(): File
getFileStreamPath
Link copied to clipboard
open fun getFileStreamPath(name: String): File
getForegroundServiceType
Link copied to clipboard
fun getForegroundServiceType(): Int
getMainExecutor
Link copied to clipboard
open fun getMainExecutor(): Executor
getMainLooper
Link copied to clipboard
open fun getMainLooper(): Looper
getNoBackupFilesDir
Link copied to clipboard
open fun getNoBackupFilesDir(): File
getObbDir
Link copied to clipboard
open fun getObbDir(): File
getObbDirs
Link copied to clipboard
open fun getObbDirs(): Array<File>
getOpPackageName
Link copied to clipboard
open fun getOpPackageName(): String
getPackageCodePath
Link copied to clipboard
open fun getPackageCodePath(): String
getPackageManager
Link copied to clipboard
open fun getPackageManager(): PackageManager
getPackageName
Link copied to clipboard
open fun getPackageName(): String
getPackageResourcePath
Link copied to clipboard
open fun getPackageResourcePath(): String
getResources
Link copied to clipboard
open fun getResources(): Resources
getSharedPreferences
Link copied to clipboard
open fun getSharedPreferences(name: String, mode: Int): SharedPreferences
getString
Link copied to clipboard
fun getString(resId: Int): String
getSystemService
Link copied to clipboard
fun <T> getSystemService(serviceClass: Class<T>): T
open fun getSystemService(name: String): Any
getSystemServiceName
Link copied to clipboard
open fun getSystemServiceName(serviceClass: Class<out Any>): String
getText
Link copied to clipboard
fun getText(resId: Int): CharSequence
getTheme
Link copied to clipboard
open fun getTheme(): Resources.Theme
getWallpaper
Link copied to clipboard
open fun getWallpaper(): Drawable
getWallpaperDesiredMinimumHeight
Link copied to clipboard
open fun getWallpaperDesiredMinimumHeight(): Int
getWallpaperDesiredMinimumWidth
Link copied to clipboard
open fun getWallpaperDesiredMinimumWidth(): Int
grantUriPermission
Link copied to clipboard
open fun grantUriPermission(toPackage: String, uri: Uri, modeFlags: Int)
isDeviceProtectedStorage
Link copied to clipboard
open fun isDeviceProtectedStorage(): Boolean
isRestricted
Link copied to clipboard
open fun isRestricted(): Boolean
moveDatabaseFrom
Link copied to clipboard
open fun moveDatabaseFrom(sourceContext: Context, name: String): Boolean
moveSharedPreferencesFrom
Link copied to clipboard
open fun moveSharedPreferencesFrom(sourceContext: Context, name: String): Boolean
obtainStyledAttributes
Link copied to clipboard
fun obtainStyledAttributes(attrs: Array<Int>): TypedArray
onBind
Link copied to clipboard
open fun onBind(intent: Intent): IBinder
onConfigurationChanged
Link copied to clipboard
open fun onConfigurationChanged(newConfig: Configuration)
onCreate
Link copied to clipboard
open fun onCreate()
onDestroy
Link copied to clipboard
open fun onDestroy()
onLowMemory
Link copied to clipboard
open fun onLowMemory()
onRebind
Link copied to clipboard
open fun onRebind(intent: Intent)
onStart
Link copied to clipboard
open fun onStart(intent: Intent, startId: Int)
onStartCommand
Link copied to clipboard
open fun onStartCommand(intent: Intent, flags: Int, startId: Int): Int
onTaskRemoved
Link copied to clipboard
open fun onTaskRemoved(rootIntent: Intent)
onTrimMemory
Link copied to clipboard
open fun onTrimMemory(level: Int)
onUnbind
Link copied to clipboard
open fun onUnbind(intent: Intent): Boolean
openFileInput
Link copied to clipboard
open fun openFileInput(name: String): FileInputStream
openFileOutput
Link copied to clipboard
open fun openFileOutput(name: String, mode: Int): FileOutputStream
openOrCreateDatabase
Link copied to clipboard
open fun openOrCreateDatabase(name: String, mode: Int, factory: SQLiteDatabase.CursorFactory): SQLiteDatabase
peekWallpaper
Link copied to clipboard
open fun peekWallpaper(): Drawable
registerComponentCallbacks
Link copied to clipboard
open fun registerComponentCallbacks(callback: ComponentCallbacks)
registerReceiver
Link copied to clipboard
open fun registerReceiver(receiver: BroadcastReceiver, filter: IntentFilter): Intent
removeStickyBroadcast
Link copied to clipboard
open fun removeStickyBroadcast(intent: Intent)
removeStickyBroadcastAsUser
Link copied to clipboard
open fun removeStickyBroadcastAsUser(intent: Intent, user: UserHandle)
revokeUriPermission
Link copied to clipboard
open fun revokeUriPermission(uri: Uri, modeFlags: Int)
sendBroadcast
Link copied to clipboard
open fun sendBroadcast(intent: Intent)
sendBroadcastAsUser
Link copied to clipboard
open fun sendBroadcastAsUser(intent: Intent, user: UserHandle)
sendOrderedBroadcast
Link copied to clipboard
open fun sendOrderedBroadcast(intent: Intent, receiverPermission: String)
sendOrderedBroadcastAsUser
Link copied to clipboard
open fun sendOrderedBroadcastAsUser(intent: Intent, user: UserHandle, receiverPermission: String, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
sendStickyBroadcast
Link copied to clipboard
open fun sendStickyBroadcast(intent: Intent)
sendStickyBroadcastAsUser
Link copied to clipboard
open fun sendStickyBroadcastAsUser(intent: Intent, user: UserHandle)
sendStickyOrderedBroadcast
Link copied to clipboard
open fun sendStickyOrderedBroadcast(intent: Intent, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
sendStickyOrderedBroadcastAsUser
Link copied to clipboard
open fun sendStickyOrderedBroadcastAsUser(intent: Intent, user: UserHandle, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
setIntentRedelivery
Link copied to clipboard
open fun setIntentRedelivery(enabled: Boolean)
setTheme
Link copied to clipboard
open fun setTheme(resid: Int)
setWallpaper
Link copied to clipboard
open fun setWallpaper(bitmap: Bitmap)
startActivities
Link copied to clipboard
open fun startActivities(intents: Array<Intent>)
startActivity
Link copied to clipboard
open fun startActivity(intent: Intent)
startForeground
Link copied to clipboard
fun startForeground(id: Int, notification: Notification)
startForegroundService
Link copied to clipboard
open fun startForegroundService(service: Intent): ComponentName
startInstrumentation
Link copied to clipboard
open fun startInstrumentation(className: ComponentName, profileFile: String, arguments: Bundle): Boolean
startIntentSender
Link copied to clipboard
open fun startIntentSender(intent: IntentSender, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
startService
Link copied to clipboard
open fun startService(service: Intent): ComponentName
stopForeground
Link copied to clipboard
fun stopForeground(removeNotification: Boolean)
stopSelf
Link copied to clipboard
fun stopSelf()
stopSelfResult
Link copied to clipboard
fun stopSelfResult(startId: Int): Boolean
stopService
Link copied to clipboard
open fun stopService(name: Intent): Boolean
unbindService
Link copied to clipboard
open fun unbindService(conn: ServiceConnection)
unregisterComponentCallbacks
Link copied to clipboard
open fun unregisterComponentCallbacks(callback: ComponentCallbacks)
unregisterReceiver
Link copied to clipboard
open fun unregisterReceiver(receiver: BroadcastReceiver)
updateServiceGroup
Link copied to clipboard
open fun updateServiceGroup(conn: ServiceConnection, group: Int, importance: Int)