Description of Methods
Void AddHeaderText(String text)
Add a string of bold, high visibility text to the screen as a header to introduce the subsequent paragraph(s).
Void AddParagraph(String text)
Adds a paragraph of text to the screen. A paragraph is specified as a single string and are ordered on the screen in the same order as they are added. The roCodeRegistrationScreen handles all text formatting and justification. Spacing is automatically inserted between paragraphs for readability.
Boolean AddButton(Integer id, String title)
Adds a button to the screen identified by the title and ID provided. The buttons are at the bottom of the screen and appear in the order added. When the button is pressed, the script will receive an event from the application indicating the ID of the button pressed.
Void AddFocalText(String text, String spacingFormat)
Adds high visibility focal text to the screen to be placed above the registration code. This text is intended to provide the user important instructions on where to use the registration code. It is generally a few words of instruction followed by the URL for the registration site on the web. Multiple lines of text may be added and the spacing between each is controlled by specifying the spacing format as one of the following: spacing-dense, spacing–normal or spacing-sparse.
Void SetRegistrationCode(String regCode)
Set the registration code (e.g. XM3RT) or text (e.g. retrieving…) to be displayed on the screen.
Display or refresh the screen after creation or state changes.
Close the screen and delete the associated object. Useful for avoiding screen flicker when the display order of your screens does not resemble a stack.
Void SetTitle(String title)
Set the title for the screen to the specified string.