LifecycleService

open class LifecycleService : Service
kotlin.Any
   ↳ android.content.Context
   ↳ android.content.ContextWrapper
   ↳ android.app.Service
   ↳ androidx.lifecycle.LifecycleService

A Service that is also a LifecycleOwner.

Summary

Public constructors

Public methods
open Int
onStartCommand(intent: Intent!, flags: Int, startId: Int)

open Unit

open Unit
onStart(intent: Intent!, startId: Int)

open Lifecycle!

open IBinder?
onBind(intent: Intent!)

open Unit

Public constructors

<init>

LifecycleService()

Public methods

onStartCommand

open fun onStartCommand(intent: Intent!, flags: Int, startId: Int): Int

onCreate

open fun onCreate(): Unit

onStart

open fun onStart(intent: Intent!, startId: Int): Unit

getLifecycle

open fun getLifecycle(): Lifecycle!

onBind

open fun onBind(intent: Intent!): IBinder?

onDestroy

open fun onDestroy(): Unit