NewSurfaceValueSpec

  • The NEW_SURFACE intent is passed from the app as input.

  • The JSON representation for this intent includes fields for required capabilities, context, and a notification title.

  • The capabilities field specifies the features needed from the new surface, such as screen output.

  • The context field provides a description of the content the user will receive on the new surface.

  • The notificationTitle field sets the title for the prompt asking the user to continue on the new surface.

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.