Screen
The Screen class represents a screen to be displayed on the glasses.
This is the main entry point within the SDK to create and send visual data to the glasses display.
You should inherit from this class in order to create application screens to be displayed on the glasses (similar to iOS viewController or Android Activity)
The Screen lifecycle is as follows:
-- onResume
----- onUpdateUI
----- (here the screen is actually drawn and sent to the glasses)
-- onPause
Inheritors
Constructors
Types
Functions
Close the current popup message if shown
returns a ui element that was added to the screen
Receive the ui elements that were added to the screen
Indicates if the screen has ui elements
Return the current displayed popup message or null if not exist
Override this function to be notified when the message that was requested to be shown via showPopup was removed
Override this function to be notified when the resources upload batch process was ended
Override this function to be notified about a single resource upload result The function is called when the resource was uploaded successfully or the upload was failed
Override this function to be notified about the glasses touch gestures
Override this function to be notified when the screen is about to be drawn
Set the UIElement to be the last element
set the screen render rate
Set the UIElement to be the topmost element in the screen
Shows the given ui Element on the screen for a predefined time timeoutMs
Indicates if the screen was created