DeviceStateObserver

class DeviceStateObserver : BroadcastReceiver, LifecycleObserver

Types

Companion
Link copied to clipboard
object Companion

Functions

abortBroadcast
Link copied to clipboard
fun abortBroadcast()
clearAbortBroadcast
Link copied to clipboard
fun clearAbortBroadcast()
getAbortBroadcast
Link copied to clipboard
fun getAbortBroadcast(): Boolean
getDebugUnregister
Link copied to clipboard
fun getDebugUnregister(): Boolean
getResultCode
Link copied to clipboard
fun getResultCode(): Int
getResultData
Link copied to clipboard
fun getResultData(): String
getResultExtras
Link copied to clipboard
fun getResultExtras(p0: Boolean): Bundle
goAsync
Link copied to clipboard
fun goAsync(): BroadcastReceiver.PendingResult
isInitialStickyBroadcast
Link copied to clipboard
fun isInitialStickyBroadcast(): Boolean
isOrderedBroadcast
Link copied to clipboard
fun isOrderedBroadcast(): Boolean
onCreate
Link copied to clipboard
fun onCreate()
onDestroy
Link copied to clipboard
fun onDestroy()
onPause
Link copied to clipboard
fun onPause()
onReceive
Link copied to clipboard
open override fun onReceive(context: Context, intent: Intent)
onResume
Link copied to clipboard
fun onResume()
onStart
Link copied to clipboard
fun onStart()
onStop
Link copied to clipboard
fun onStop()
peekService
Link copied to clipboard
open fun peekService(p0: Context, p1: Intent): IBinder
setDebugUnregister
Link copied to clipboard
fun setDebugUnregister(p0: Boolean)
setOrderedHint
Link copied to clipboard
fun setOrderedHint(p0: Boolean)
setResult
Link copied to clipboard
fun setResult(p0: Int, p1: String, p2: Bundle)
setResultCode
Link copied to clipboard
fun setResultCode(p0: Int)
setResultData
Link copied to clipboard
fun setResultData(p0: String)
setResultExtras
Link copied to clipboard
fun setResultExtras(p0: Bundle)

Properties

TAG
Link copied to clipboard
val TAG: String