toggle menu
Core
0.6.1
android
switch theme
search in API
Core
/
io.telereso.kmp.core
/
AppEventsObserver
App
Events
Observer
android
open
class
AppEventsObserver
(
context
:
Context
,
capabilities
:
List
<
Int
>
,
transportTypes
:
List
<
Int
>
)
:
DefaultLifecycleObserver
Members
Constructors
App
Events
Observer
Link copied to clipboard
android
constructor
(
context
:
Context
,
capabilities
:
List
<
Int
>
,
transportTypes
:
List
<
Int
>
)
Types
Companion
Link copied to clipboard
android
object
Companion
Properties
network
Callback
Link copied to clipboard
android
private
val
networkCallback
:
AppEventsObserver.<no name provided>
Functions
on
Create
Link copied to clipboard
android
open
fun
onCreate
(
owner
:
LifecycleOwner
)
on
Destroy
Link copied to clipboard
android
open
fun
onDestroy
(
owner
:
LifecycleOwner
)
on
Network
Available
Link copied to clipboard
android
open
fun
onNetworkAvailable
(
network
:
Network
)
on
Network
Capabilities
Changed
Link copied to clipboard
android
open
fun
onNetworkCapabilitiesChanged
(
network
:
Network
,
networkCapabilities
:
NetworkCapabilities
)
on
Network
Lost
Link copied to clipboard
android
open
fun
onNetworkLost
(
network
:
Network
)
on
Pause
Link copied to clipboard
android
open
fun
onPause
(
owner
:
LifecycleOwner
)
on
Resume
Link copied to clipboard
android
open
fun
onResume
(
owner
:
LifecycleOwner
)
on
Start
Link copied to clipboard
android
open
override
fun
onStart
(
owner
:
LifecycleOwner
)
on
Stop
Link copied to clipboard
android
open
override
fun
onStop
(
owner
:
LifecycleOwner
)