header

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const V1 = "1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Namespace      Namespace `json:"namespace"`
	Name           Name      `json:"name"`
	MessageId      string    `json:"messageId"`
	PayloadVersion string    `json:"payloadVersion"`
}

func GetNextItemResponseHeader

func GetNextItemResponseHeader() *Header

func GetPlayableContentResponseHeader

func GetPlayableContentResponseHeader() *Header

func GetPreviousItemResponseHeader

func GetPreviousItemResponseHeader() *Header

func InitiateResponseHeader

func InitiateResponseHeader() *Header

func ReinitiateResponseHeader

func ReinitiateResponseHeader() *Header

type Name

type Name string
const GetNextItem Name = "GetNextItem"
const GetNextItemResponse Name = GetNextItem + ".Response"
const GetPlayableContent Name = "GetPlayableContent"
const GetPlayableContentResponse Name = GetPlayableContent + ".Response"
const GetPreviousItem Name = "GetPreviousItem"
const GetPreviousItemResponse Name = GetPreviousItem + ".Response"
const Initiate Name = "Initiate"
const InitiateResponse Name = Initiate + ".Response"
const Reinitiate Name = "Reinitiate"
const ReinitiateResponse Name = Reinitiate + ".Response"

type Namespace

type Namespace string
const AlexaAudioPlayQueue Namespace = "Alexa.Audio.PlayQueue"
const AlexaMediaPlayQueue Namespace = "Alexa.Media.PlayQueue"
const AlexaMediaPlayback Namespace = "Alexa.Media.Playback"
const AlexaMediaSearch Namespace = "Alexa.Media.Search"
const AlexaUserPreference Namespace = "Alexa.UserPreference"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL