Class: Toybox.ActivityPrompts.ActivityPrompt
- Inherits:
-
Toybox.Lang.Object
Overview
Informtion about the activity prompt.
Created by the system and passed to ActivityPromptDelegate.onPrompt() when an activity prompt is to be played.
Instance Member Summary collapse
-
context as Lang.Dictionary<Lang.String, ActivityPrompts.ActivityPromptContextValue>
Data for the prompt.
-
templateName as Lang.String
The prompt identifier.
-
text as Lang.String or Null
The text-to-speech text to be spoken.
Instance Attribute Details
var context as Lang.Dictionary<Lang.String, ActivityPrompts.ActivityPromptContextValue>
Data for the prompt. The usage of this depends on the value of ActivityPrompt.templateName.
var templateName as Lang.String
The prompt identifier. See
var text as Lang.String or Null
The text-to-speech text to be spoken.