display_screen
  • 1 Minute to read

display_screen


Article Summary

display_screen()

This method shows an informative screen.
An informative screen is being used to display information about some process/flow, without asking for feedback from the user. This component is typically used while the program is loading, the robot is performing a task or about to perform a task

Reference

Screen Shot 2022-07-07 at 11.01.44 AM.png

Explore more about this component here

Arguments

ArgumentsTypeDefault Value
titlestringtitle of the screen (mandatory)
subtitlestringsubtitle of the screen (optional)
show_loaderbooleanFalseIf True, a loader is displayed in the center of the screen
themeenumTHEME_TYPE.DARKenum to define the theme of the screen. Can be DARK or WHITE

Return

None

Example

await self.UI.display_screen(title="Navigating to kitchen", subtitle="will be there soon", show_loader=True)

Was this article helpful?