Class: Toybox.ActivityPrompts.ActivityPrompt

Overview

Informtion about the activity prompt.

Created by the system and passed to ActivityPromptDelegate.onPrompt() when an activity prompt is to be played.

Since:

API Level 5.2.0

Instance Member Summary collapse

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.

Since:

API Level 5.2.0

var templateName as Lang.String

The prompt identifier. See .

Since:

API Level 5.2.0

var text as Lang.String or Null

The text-to-speech text to be spoken.

Since:

API Level 5.2.0


Generated Dec 4, 2025, 10:13:08 AM