> Documentation index: https://developer.android.com/reference/llms.txt

# PlatformScheduler.PlatformSchedulerService

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/scheduler/PlatformScheduler.java+class:androidx.media3.exoplayer.scheduler.PlatformScheduler.PlatformSchedulerService)

*** ** * ** ***


```
class PlatformScheduler.PlatformSchedulerService : JobService
```

<br />

|---|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.md.txt) |||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.md.txt) ||||
|   |   | ↳ | [android.app.Service](https://developer.android.com/reference/android/app/Service.md.txt) |||
|   |   |   | ↳ | [android.app.job.JobService](https://developer.android.com/reference/android/app/job/JobService.md.txt) ||
|   |   |   |   | ↳ | [androidx.media3.exoplayer.scheduler.PlatformScheduler.PlatformSchedulerService](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/scheduler/PlatformScheduler.PlatformSchedulerService.md.txt) |

*** ** * ** ***

A `JobService` that starts the target service if the requirements are met.

## Summary

| ### Public constructors |
|---|
| `PlatformSchedulerService()` |

| ### Public functions |
|---|---|
| `Boolean` | `onStartJob(params: JobParameters!)` |
| `Boolean` | `onStopJob(params: JobParameters!)` |

### Inherited Constants

From [android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.md.txt) `const Int` `TRIM_MEMORY_BACKGROUND = 40` `const Int` `TRIM_MEMORY_COMPLETE = 80`

**This property is deprecated.**
`const Int` `TRIM_MEMORY_MODERATE = 60`

**This property is deprecated.**
`const Int` `TRIM_MEMORY_RUNNING_CRITICAL = 15`

**This property is deprecated.**
`const Int` `TRIM_MEMORY_RUNNING_LOW = 10`

**This property is deprecated.**
`const Int` `TRIM_MEMORY_RUNNING_MODERATE = 5`

**This property is deprecated.**
`const Int` `TRIM_MEMORY_UI_HIDDEN = 20` From [android.content.Context](https://developer.android.com/reference/android/content/Context.md.txt) `const String!` `ACCESSIBILITY_SERVICE = "accessibility"` `const String!` `ACCOUNT_SERVICE = "account"` `const String!` `ACTIVITY_SERVICE = "activity"` `const String!` `ADVANCED_PROTECTION_SERVICE = "advanced_protection"` `const String!` `ALARM_SERVICE = "alarm"` `const String!` `APPWIDGET_SERVICE = "appwidget"` `const String!` `APP_FUNCTION_SERVICE = "app_function"` `const String!` `APP_INTERACTION_SERVICE = "app_interaction"` `const String!` `APP_OPS_SERVICE = "appops"` `const String!` `APP_SEARCH_SERVICE = "app_search"` `const String!` `AUDIO_SERVICE = "audio"` `const String!` `AUTHENTICATION_POLICY_SERVICE = "authentication_policy"` `const String!` `AUTOFILL_SERVICE = "autofill"` `const String!` `BATTERY_SERVICE = "batterymanager"` `const Int` `BIND_ABOVE_CLIENT = 8` `const Int` `BIND_ADJUST_WITH_ACTIVITY = 128` `const Int` `BIND_ALLOW_ACTIVITY_STARTS = 512` `const Int` `BIND_ALLOW_OOM_MANAGEMENT = 16` `const Int` `BIND_AUTO_CREATE = 1` `const Int` `BIND_DEBUG_UNBIND = 2` `const Int` `BIND_EXTERNAL_SERVICE = -2147483648` `const Long` `BIND_EXTERNAL_SERVICE_LONG = 4611686018427387904` `const Int` `BIND_IMPORTANT = 64` `const Int` `BIND_INCLUDE_CAPABILITIES = 4096` `const Int` `BIND_NOT_FOREGROUND = 4` `const Int` `BIND_NOT_PERCEPTIBLE = 256` `const Int` `BIND_PACKAGE_ISOLATED_PROCESS = 16384` `const Int` `BIND_SHARED_ISOLATED_PROCESS = 8192` `const Int` `BIND_WAIVE_PRIORITY = 32` `const String!` `BIOMETRIC_SERVICE = "biometric"` `const String!` `BLOB_STORE_SERVICE = "blob_store"` `const String!` `BLUETOOTH_SERVICE = "bluetooth"` `const String!` `BUGREPORT_SERVICE = "bugreport"` `const String!` `CAMERA_SERVICE = "camera"` `const String!` `CAPTIONING_SERVICE = "captioning"` `const String!` `CARRIER_CONFIG_SERVICE = "carrier_config"` `const String!` `CHOOSER_SERVICE = "chooser"` `const String!` `CLIPBOARD_SERVICE = "clipboard"` `const String!` `COMPANION_DEVICE_SERVICE = "companiondevice"` `const String!` `CONNECTIVITY_DIAGNOSTICS_SERVICE = "connectivity_diagnostics"` `const String!` `CONNECTIVITY_SERVICE = "connectivity"` `const String!` `CONSUMER_IR_SERVICE = "consumer_ir"` `const String!` `CONTACT_KEYS_SERVICE = "contact_keys"` `const String!` `CONTENT_RESTRICTION_SERVICE = "content_restriction"` `const Int` `CONTEXT_IGNORE_SECURITY = 2` `const Int` `CONTEXT_INCLUDE_CODE = 1` `const Int` `CONTEXT_RESTRICTED = 4` `const String!` `CREDENTIAL_SERVICE = "credential"` `const String!` `CROSS_PROFILE_APPS_SERVICE = "crossprofileapps"` `const Int` `DEVICE_ID_DEFAULT = 0` `const Int` `DEVICE_ID_INVALID = -1` `const String!` `DEVICE_LOCK_SERVICE = "device_lock"` `const String!` `DEVICE_POLICY_SERVICE = "device_policy"` `const String!` `DISPLAY_HASH_SERVICE = "display_hash"` `const String!` `DISPLAY_SERVICE = "display"` `const String!` `DOMAIN_VERIFICATION_SERVICE = "domain_verification"` `const String!` `DOWNLOAD_SERVICE = "download"` `const String!` `DROPBOX_SERVICE = "dropbox"` `const String!` `EUICC_SERVICE = "euicc"` `const String!` `FILE_INTEGRITY_SERVICE = "file_integrity"` `const String!` `FILE_SERVICE = "file"` `const String!` `GAME_SERVICE = "game"` `const String!` `GRAMMATICAL_INFLECTION_SERVICE = "grammatical_inflection"` `const String!` `HARDWARE_PROPERTIES_SERVICE = "hardware_properties"` `const String!` `HEALTHCONNECT_SERVICE = "healthconnect"` `const String!` `HID_SERVICE = "hid"` `const String!` `INPUT_METHOD_SERVICE = "input_method"` `const String!` `INPUT_SERVICE = "input"` `const String!` `IPSEC_SERVICE = "ipsec"` `const String!` `JOB_SCHEDULER_SERVICE = "jobscheduler"` `const String!` `KEYCHAIN_SERVICE = "keychain_manager"` `const String!` `KEYGUARD_SERVICE = "keyguard"` `const String!` `KEYSTORE_SERVICE = "keystore"` `const String!` `LAUNCHER_APPS_SERVICE = "launcherapps"` `const String!` `LAYOUT_INFLATER_SERVICE = "layout_inflater"` `const String!` `LOCALE_SERVICE = "locale"` `const String!` `LOCATION_SERVICE = "location"` `const String!` `MEDIA_COMMUNICATION_SERVICE = "media_communication"` `const String!` `MEDIA_METRICS_SERVICE = "media_metrics"` `const String!` `MEDIA_PROJECTION_SERVICE = "media_projection"` `const String!` `MEDIA_QUALITY_SERVICE = "media_quality"` `const String!` `MEDIA_ROUTER_SERVICE = "media_router"` `const String!` `MEDIA_SESSION_SERVICE = "media_session"` `const String!` `MEMORY_BUDGET_SERVICE = "memory_budget"` `const String!` `MIDI_SERVICE = "midi"` `const Int` `MODE_APPEND = 32768` `const Int` `MODE_ENABLE_WRITE_AHEAD_LOGGING = 8` `const Int` `MODE_MULTI_PROCESS = 4`

**This property is deprecated.**
`const Int` `MODE_NO_LOCALIZED_COLLATORS = 16` `const Int` `MODE_PRIVATE = 0` `const Int` `MODE_WORLD_READABLE = 1`

**This property is deprecated.**
`const Int` `MODE_WORLD_WRITEABLE = 2`

**This property is deprecated.**
`const String!` `MULTISENSORY_MANAGER_SERVICE = "multisensory_manager"` `const String!` `NETWORK_STATS_SERVICE = "netstats"` `const String!` `NFC_SERVICE = "nfc"` `const String!` `NOTIFICATION_SERVICE = "notification"` `const String!` `NPU_SERVICE = "npu"` `const String!` `NSD_SERVICE = "servicediscovery"` `const String!` `OVERLAY_SERVICE = "overlay"` `const String!` `PCC_SANDBOX_SERVICE = "pcc_sandbox"` `const String!` `PEOPLE_SERVICE = "people"` `const String!` `PERFORMANCE_HINT_SERVICE = "performance_hint"` `const String!` `PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block"` `const String!` `POWER_SERVICE = "power"` `const String!` `PRINT_SERVICE = "print"` `const String!` `PROFILING_SERVICE = "profiling"` `const Int` `RECEIVER_EXPORTED = 2` `const Int` `RECEIVER_NOT_EXPORTED = 4` `const Int` `RECEIVER_VISIBLE_TO_INSTANT_APPS = 1` `const String!` `RESTRICTIONS_SERVICE = "restrictions"` `const String!` `ROLE_SERVICE = "role"` `const String!` `SATELLITE_SERVICE = "satellite"` `const String!` `SEARCH_SERVICE = "search"` `const String!` `SECURITY_STATE_SERVICE = "security_state"` `const String!` `SENSOR_SERVICE = "sensor"` `const String!` `SERIAL_SERVICE = "serial"` `const String!` `SHORTCUT_SERVICE = "shortcut"` `const String!` `STATUS_BAR_SERVICE = "statusbar"` `const String!` `STORAGE_SERVICE = "storage"` `const String!` `STORAGE_STATS_SERVICE = "storagestats"` `const String!` `SYSTEM_HEALTH_SERVICE = "systemhealth"` `const String!` `TELECOM_SERVICE = "telecom"` `const String!` `TELEPHONY_IMS_SERVICE = "telephony_ims"` `const String!` `TELEPHONY_PHONE_NUMBER_SERVICE = "telephony_phone_number"` `const String!` `TELEPHONY_SERVICE = "phone"` `const String!` `TELEPHONY_SUBSCRIPTION_SERVICE = "telephony_subscription_service"` `const String!` `TETHERING_SERVICE = "tethering"` `const String!` `TEXT_CLASSIFICATION_SERVICE = "textclassification"` `const String!` `TEXT_SERVICES_MANAGER_SERVICE = "textservices"` `const String!` `TIME_MANAGER_SERVICE = "time_manager"` `const String!` `TV_AD_SERVICE = "tv_ad"` `const String!` `TV_INPUT_SERVICE = "tv_input"` `const String!` `TV_INTERACTIVE_APP_SERVICE = "tv_interactive_app"` `const String!` `UI_MODE_SERVICE = "uimode"` `const String!` `USAGE_STATS_SERVICE = "usagestats"` `const String!` `USB_SERVICE = "usb"` `const String!` `USER_SERVICE = "user"` `const String!` `VIBRATOR_MANAGER_SERVICE = "vibrator_manager"` `const String!` `VIBRATOR_SERVICE = "vibrator"`

**This property is deprecated.**
`const String!` `VIRTUAL_DEVICE_SERVICE = "virtualdevice"` `const String!` `VPN_MANAGEMENT_SERVICE = "vpn_management"` `const String!` `WALLPAPER_SERVICE = "wallpaper"` `const String!` `WEB_APP_SERVICE = "web_app"` `const String!` `WIFI_AWARE_SERVICE = "wifiaware"` `const String!` `WIFI_P2P_SERVICE = "wifip2p"` `const String!` `WIFI_RTT_RANGING_SERVICE = "wifirtt"` `const String!` `WIFI_SERVICE = "wifi"` `const String!` `WINDOW_SERVICE = "window"` From [android.app.job.JobService](https://developer.android.com/reference/android/app/job/JobService.md.txt) `const Int` `JOB_END_NOTIFICATION_POLICY_DETACH = 0` `const Int` `JOB_END_NOTIFICATION_POLICY_REMOVE = 1` `const String!` `PERMISSION_BIND = "android.permission.BIND_JOB_SERVICE"` From [android.app.Service](https://developer.android.com/reference/android/app/Service.md.txt) `const Int` `START_CONTINUATION_MASK = 15` `const Int` `START_FLAG_REDELIVERY = 1` `const Int` `START_FLAG_RETRY = 2` `const Int` `START_NOT_STICKY = 2` `const Int` `START_REDELIVER_INTENT = 3` `const Int` `START_STICKY = 1` `const Int` `START_STICKY_COMPATIBILITY = 0` `const Int` `STOP_FOREGROUND_DETACH = 2` `const Int` `STOP_FOREGROUND_LEGACY = 0`

**This property is deprecated.**
`const Int` `STOP_FOREGROUND_REMOVE = 1`

### Inherited functions

From [android.content.Context](https://developer.android.com/reference/android/content/Context.md.txt) `Int` `getColor(id: Int)` `ColorStateList!` `getColorStateList(id: Int)` `Drawable!` `getDrawable(id: Int)` `String!` `getString(resId: Int)` `T!` `<T> getSystemService(serviceClass: Class<T!>!)` `CharSequence!` `getText(resId: Int)` `Context.BindServiceFlags!` `getUpdateableFlags()` `TypedArray!` `obtainStyledAttributes(set: AttributeSet!, attrs: IntArray<Int>!)` `Unit` `revokeSelfPermissionOnKill(permName: String!)` `Unit` `sendBroadcastWithMultiplePermissions(
intent: Intent!,
receiverPermissions: Array<String!>!
)` From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `Boolean` `bindIsolatedService(
service: Intent!,
flags: Int,
instanceName: String!,
executor: Executor!,
conn: ServiceConnection!
)` `Boolean` `bindService(
service: Intent!,
flags: Context.BindServiceFlags!,
executor: Executor!,
conn: ServiceConnection!
)` `Boolean` `bindServiceAsUser(
service: Intent!,
conn: ServiceConnection!,
flags: Context.BindServiceFlags!,
user: UserHandle!
)` `Int` `checkCallingOrSelfPermission(permission: String!)` `Int` `checkCallingOrSelfUriPermission(uri: Uri!, modeFlags: Int)` `Array<Int>!` `checkCallingOrSelfUriPermissions(
uris: (Mutable)List<Uri!>!,
modeFlags: Int
)` `Int` `checkCallingPermission(permission: String!)` `Int` `checkCallingUriPermission(uri: Uri!, modeFlags: Int)` `Array<Int>!` `checkCallingUriPermissions(uris: (Mutable)List<Uri!>!, modeFlags: Int)` `Int` `checkContentUriPermissionFull(uri: Uri!, pid: Int, uid: Int, modeFlags: Int)` `Int` `checkPermission(permission: String!, pid: Int, uid: Int)` `Int` `checkSelfPermission(permission: String!)` `Int` `checkUriPermission(uri: Uri!, pid: Int, uid: Int, modeFlags: Int)` `Array<Int>!` `checkUriPermissions(
uris: (Mutable)List<Uri!>!,
pid: Int,
uid: Int,
modeFlags: Int
)` `Unit` `clearWallpaper()`

**This function is deprecated.**
`Context!` `createAttributionContext(attributionTag: String!)` `Context!` `createConfigurationContext(overrideConfiguration: Configuration!)` `Context!` `createContext(contextParams: ContextParams!)` `Context!` `createContextForSplit(splitName: String!)` `Context!` `createDeviceContext(deviceId: Int)` `Context!` `createDeviceProtectedStorageContext()` `Context!` `createDisplayContext(display: Display!)` `Context!` `createPackageContext(packageName: String!, flags: Int)` `Context!` `createWindowContext(display: Display!, type: Int, options: Bundle!)` `Array<String!>!` `databaseList()` `Boolean` `deleteDatabase(name: String!)` `Boolean` `deleteFile(name: String!)` `Boolean` `deleteSharedPreferences(name: String!)` `Unit` `enforceCallingOrSelfPermission(permission: String!, message: String!)` `Unit` `enforceCallingOrSelfUriPermission(
uri: Uri!,
modeFlags: Int,
message: String!
)` `Unit` `enforceCallingPermission(permission: String!, message: String!)` `Unit` `enforceCallingUriPermission(uri: Uri!, modeFlags: Int, message: String!)` `Unit` `enforcePermission(permission: String!, pid: Int, uid: Int, message: String!)` `Unit` `enforceUriPermission(
uri: Uri!,
pid: Int,
uid: Int,
modeFlags: Int,
message: String!
)` `Array<String!>!` `fileList()` `Context!` `getApplicationContext()` `ApplicationInfo!` `getApplicationInfo()` `AssetManager!` `getAssets()` `AttributionSource!` `getAttributionSource()` `String!` `getAttributionTag()` `Context!` `getBaseContext()` `File!` `getCacheDir()` `ClassLoader!` `getClassLoader()` `File!` `getCodeCacheDir()` `ContentResolver!` `getContentResolver()` `File!` `getDataDir()` `File!` `getDatabasePath(name: String!)` `Int` `getDeviceId()` `File!` `getDir(name: String!, mode: Int)` `Display!` `getDisplay()` `File!` `getExternalCacheDir()` `Array<File!>!` `getExternalCacheDirs()` `File!` `getExternalFilesDir(type: String!)` `Array<File!>!` `getExternalFilesDirs(type: String!)` `Array<File!>!` `getExternalMediaDirs()`

**This function is deprecated.**
`File!` `getFileStreamPath(name: String!)` `File!` `getFilesDir()` `Executor!` `getMainExecutor()` `Looper!` `getMainLooper()` `File!` `getNoBackupFilesDir()` `File!` `getObbDir()` `Array<File!>!` `getObbDirs()` `String!` `getOpPackageName()` `String!` `getPackageCodePath()` `PackageManager!` `getPackageManager()` `String!` `getPackageName()` `String!` `getPackageResourcePath()` `ContextParams!` `getParams()` `Resources!` `getResources()` `SharedPreferences!` `getSharedPreferences(name: String!, mode: Int)` `Any!` `getSystemService(name: String!)` `String!` `getSystemServiceName(serviceClass: Class<*>!)` `Resources.Theme!` `getTheme()` `Drawable!` `getWallpaper()`

**This function is deprecated.**
`Int` `getWallpaperDesiredMinimumHeight()`

**This function is deprecated.**
`Int` `getWallpaperDesiredMinimumWidth()`

**This function is deprecated.**
`Unit` `grantUriPermission(toPackage: String!, uri: Uri!, modeFlags: Int)` `Boolean` `isDeviceProtectedStorage()` `Boolean` `isRestricted()` `Boolean` `isUiContext()` `Boolean` `moveDatabaseFrom(sourceContext: Context!, name: String!)` `Boolean` `moveSharedPreferencesFrom(sourceContext: Context!, name: String!)` `FileInputStream!` `openFileInput(name: String!)` `FileOutputStream!` `openFileOutput(name: String!, mode: Int)` `SQLiteDatabase!` `openOrCreateDatabase(
name: String!,
mode: Int,
factory: SQLiteDatabase.CursorFactory!
)` `Drawable!` `peekWallpaper()`

**This function is deprecated.**
`Unit` `rebindService(conn: ServiceConnection!, flags: Context.BindServiceFlags!)` `Unit` `registerComponentCallbacks(callback: ComponentCallbacks!)` `Unit` `registerDeviceIdChangeListener(executor: Executor!, listener: IntConsumer!)` `Intent!` `registerReceiver(receiver: BroadcastReceiver!, filter: IntentFilter!)` `Unit` `removeStickyBroadcast(intent: Intent!)`

**This function is deprecated.**
`Unit` `removeStickyBroadcastAsUser(intent: Intent!, user: UserHandle!)`

**This function is deprecated.**
`Unit` `revokeSelfPermissionsOnKill(permissions: (Mutable)Collection<String!>!)` `Unit` `revokeUriPermission(uri: Uri!, modeFlags: Int)` `Unit` `sendBroadcast(intent: Intent!)` `Unit` `sendBroadcastAsUser(intent: Intent!, user: UserHandle!)` `Unit` `sendOrderedBroadcast(
intent: Intent!,
initialCode: Int,
receiverPermission: String!,
receiverAppOp: String!,
resultReceiver: BroadcastReceiver!,
scheduler: Handler!,
initialData: String!,
initialExtras: Bundle!,
options: Bundle!
)` `Unit` `sendOrderedBroadcastAsUser(
intent: Intent!,
user: UserHandle!,
receiverPermission: String!,
resultReceiver: BroadcastReceiver!,
scheduler: Handler!,
initialCode: Int,
initialData: String!,
initialExtras: Bundle!
)` `Unit` `sendStickyBroadcast(intent: Intent!)`

**This function is deprecated.**
`Unit` `sendStickyBroadcastAsUser(intent: Intent!, user: UserHandle!)`

**This function is deprecated.**
`Unit` `sendStickyOrderedBroadcast(
intent: Intent!,
resultReceiver: BroadcastReceiver!,
scheduler: Handler!,
initialCode: Int,
initialData: String!,
initialExtras: Bundle!
)`

**This function is deprecated.**
`Unit` `sendStickyOrderedBroadcastAsUser(
intent: Intent!,
user: UserHandle!,
resultReceiver: BroadcastReceiver!,
scheduler: Handler!,
initialCode: Int,
initialData: String!,
initialExtras: Bundle!
)`

**This function is deprecated.**
`Unit` `setTheme(resid: Int)` `Unit` `setWallpaper(bitmap: Bitmap!)`

**This function is deprecated.**
`Boolean` `shouldShowRequestPermissionRationale(permission: String!)` `Unit` `startActivities(intents: Array<Intent!>!)` `Unit` `startActivity(intent: Intent!)` `ComponentName!` `startForegroundService(service: Intent!)` `Boolean` `startInstrumentation(
className: ComponentName!,
profileFile: String!,
arguments: Bundle!
)` `Unit` `startIntentSender(
intent: IntentSender!,
fillInIntent: Intent!,
flagsMask: Int,
flagsValues: Int,
extraFlags: Int
)` `ComponentName!` `startService(service: Intent!)` `Boolean` `stopService(name: Intent!)` `Unit` `unbindService(conn: ServiceConnection!)` `Unit` `unregisterComponentCallbacks(callback: ComponentCallbacks!)` `Unit` `unregisterDeviceIdChangeListener(listener: IntConsumer!)` `Unit` `unregisterReceiver(receiver: BroadcastReceiver!)` `Unit` `updateServiceBindings(
params: (Mutable)Collection<Context.UpdateBindingParams!>!
)` `Unit` `updateServiceGroup(conn: ServiceConnection!, group: Int, importance: Int)` From [android.app.job.JobService](https://developer.android.com/reference/android/app/job/JobService.html) `Unit` `jobFinished(params: JobParameters!, wantsReschedule: Boolean)` `IBinder!` `onBind(intent: Intent!)` `Unit` `onNetworkChanged(params: JobParameters!)` `Unit` `setNotification(
params: JobParameters!,
notificationId: Int,
notification: Notification!,
jobEndNotificationPolicy: Int
)` `Unit` `updateEstimatedNetworkBytes(
params: JobParameters!,
jobWorkItem: JobWorkItem!,
downloadBytes: Long,
uploadBytes: Long
)` `Unit` `updateTransferredNetworkBytes(
params: JobParameters!,
item: JobWorkItem!,
transferredDownloadBytes: Long,
transferredUploadBytes: Long
)` From [android.app.Service](https://developer.android.com/reference/android/app/Service.html) `Unit` `attachBaseContext(newBase: Context!)` `Unit` `dump(fd: FileDescriptor!, writer: PrintWriter!, args: Array<String!>!)` `Application!` `getApplication()` `Int` `getForegroundServiceType()` `Unit` `onConfigurationChanged(newConfig: Configuration!)` `Unit` `onCreate()` `Unit` `onDestroy()` `Unit` `onLowMemory()`

**This function is deprecated.**
`Unit` `onRebind(intent: Intent!)` `Unit` `onStart(intent: Intent!, startId: Int)`

**This function is deprecated.**
`Int` `onStartCommand(intent: Intent!, flags: Int, startId: Int)` `Unit` `onTaskRemoved(rootIntent: Intent!)` `Unit` `onTimeout(startId: Int)` `Unit` `onTrimMemory(level: Int)` `Boolean` `onUnbind(intent: Intent!)` `Unit` `startForeground(id: Int, notification: Notification!)` `Unit` `stopForeground(removeNotification: Boolean)`

**This function is deprecated.**
`Unit` `stopSelf()` `Boolean` `stopSelfResult(startId: Int)`

## Public constructors

### PlatformSchedulerService

```
PlatformSchedulerService()
```

## Public functions

### onStartJob

```
fun onStartJob(params: JobParameters!): Boolean
```

### onStopJob

```
fun onStopJob(params: JobParameters!): Boolean
```