ShellCapabilities
What the app's declared shell can do: facts read from its ShellGraph and ShellLayoutPolicy alone, so a setting can tell whether it has anything to change in this app.
They describe the app, not the window it is drawn in now, and not the developer options: an app whose policy shows a bottom bar on phones usesBottomNavigation while a tablet draws a rail, or while a forced layout does.
Build it with of; inside the shell, read LocalShellCapabilities.
Properties
Whether the graph declares a bottom banner.
Whether the graph declares a player.
Whether the app has a bottom accessory to show or hide.
Whether the app has more than one destination to move between.
Whether the declared tabs need a bottom bar, including in a forced phone layout.
Whether the layout policy limits how wide content grows.
Whether some page is drawn in the shell's page frame, with its app bar.
Whether the app can start in more than one place.
Whether there is more than one tab to move between.
Whether some app bar is drawn by the shell: the tabs' own, or a framed page's.
Whether the host omits a single tab's bottom bar.
Whether the layout policy resolves to the bottom bar on some window.
Whether the layout policy resolves to a rail or permanent drawer on some window.
How many places the app can start: its tabs, then its start screens.
Whether the app shows its tabs in a bottom navigation bar on some window.
Whether the app shows its tabs in a rail or permanent drawer on some window.