ToolbarDockPosition

Physical docking slot of a contextual toolbar on the screen — the successor of the deleted ToolbarCoordinatorLayout.LayoutParams.Position (toolbar migration Phase 5).

Physical (LEFT/RIGHT rather than logical Start/End) because it names an on-screen edge: com.pspdfkit.preferences.PSPDFKitPreferences.setLastToolbarPosition persists the edge a user dragged a bar to, which must not flip when the layout direction changes. The Compose toolbar state uses the logical com.pspdfkit.compose.toolbar.state.ToolbarPosition; the two resolve into each other through the host view's layout direction.

The ordinals (TOP=0, LEFT=1, RIGHT=2) are persisted by com.pspdfkit.preferences.PSPDFKitPreferences and must not be reordered — they match the deleted enum, so docks saved before the migration restore unchanged.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.