NewSurfaceValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Passed from the app as input for actions.intent.NEW_SURFACE
.
JSON representation |
{
"capabilities": [
string
],
"context": string,
"notificationTitle": string
} |
Fields |
capabilities[] |
string
The list of capabilities required from the surface. Eg, ["actions.capability.SCREEN_OUTPUT"]
|
context |
string
Context describing the content the user will receive on the new surface. Eg, "[Sure, I know of 10 that are really popular. The highest-rated one is at Mount Marcy.] Is it okay if I send that to your phone?"
|
notificationTitle |
string
title of the notification which prompts the user to continue on the new surface.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `actions.intent.NEW_SURFACE` intent uses JSON input to request a new surface with specific capabilities."],["The JSON input must define the desired capabilities, context for the new surface, and the notification title to prompt the user."],["Capabilities are specified as a string array, context is a descriptive string, and notification title is also a string."]]],[]]