VisualActivityTracker 1.0

Focus management improves the accuracy of responses from Alexa, specifically, when a user makes an ambiguous request. Focus is managed in the cloud. A client simply informs Alexa which interface has focus of a visual channel. This state information is sent in the context container under the VisualActivityTracker namespace.

See Focus Management for common use cases, and a complete interface to channel mapping.

Capability Assertion

VisualActivityTracker 1.0 may be implemented by the device on its own behalf, but not on behalf of any connected endpoints.

New AVS integrations must assert support through Alexa.Discovery, but Alexa will continue to support existing integrations using the Capabilities API.

{
    "type": "AlexaInterface",
    "interface": "VisualActivityTracker",
    "version": "1.0"
}

VisualActivityTracker Context

This context object lets Alexa know that the client is actively displaying Alexa-provided content to the user. If the Alexa content has been dismissed, VisualActivityTracker should not be included in the context.

{
    "header": {
        "namespace": "VisualActivityTracker",
        "name": "ActivityState"
    },
    "payload": {
        "focused": {
            "interface": "{{STRING}}",
        }
    }
}

Payload Parameters

Parameter Description Type
focused An object that contains information about the interface that currently has visual focus. object
focused.interface Specifies the interface that has visual focus.
Accepted Value: "TemplateRuntime"
string