Skip to content

//app/dev.atick.compose.navigation/TopLevelDestination

TopLevelDestination

[androidJvm]\ enum TopLevelDestination : Enum<TopLevelDestination>

Enum class representing top-level destinations in a navigation system.

Entries

HOME [androidJvm]
HOME
PROFILE [androidJvm]
PROFILE

Properties

Name Summary
entries [androidJvm]
val entries: EnumEntries<TopLevelDestination>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
iconTextId [androidJvm]
val iconTextId: Int
The resource ID for the icon's content description text.
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int
selectedIcon [androidJvm]
val selectedIcon: ImageVector
The selected icon associated with the destination.
titleTextId [androidJvm]
val titleTextId: Int
The resource ID for the title text.
unselectedIcon [androidJvm]
val unselectedIcon: ImageVector
The unselected icon associated with the destination.

Functions

Name Summary
valueOf [androidJvm]
fun valueOf(value: String): TopLevelDestination
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [androidJvm]
fun values(): Array<TopLevelDestination>
Returns an array containing the constants of this enum type, in the order they're declared.