Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct LifecycleState

sealed struct LifecycleState
Represents the current state of a ILifecycle.

Fields

Constants

STARTED

LifecycleState = {0}
The ILifecycle has started. *

IN_FOREGROUND

LifecycleState = {1}
The ILifecycle is in the foreground. *

IN_BACKGROUND

LifecycleState = {2}
The ILifecycle is in the background. *

STOPPED

LifecycleState = {3}
The ILifecycle has stopped. *
Last modified on October 29, 2026