toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-base
/
com.mapbox.dash.sdk.base.lifecycle
/
ApplicationLifecycleObserver
Application
Lifecycle
Observer
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
ApplicationLifecycleObserver
:
LifecycleObserver
Members
Constructors
Application
Lifecycle
Observer
Link copied to clipboard
constructor
(
)
Properties
app
Foreground
Link copied to clipboard
val
appForeground
:
Flow
<
Boolean
>
app
Lifecycle
Link copied to clipboard
val
appLifecycle
:
StateFlow
<
Lifecycle.State
>
Functions
on
App
Created
Link copied to clipboard
fun
onAppCreated
(
)
on
App
Paused
Link copied to clipboard
fun
onAppPaused
(
)
on
App
Resumed
Link copied to clipboard
fun
onAppResumed
(
)
on
App
Started
Link copied to clipboard
fun
onAppStarted
(
)
on
App
Stopped
Link copied to clipboard
fun
onAppStopped
(
)