import { s } from "../schema.js"; import { defineInterface } from "../types.js"; /** What a player is doing, for an endpoint with Alexa.PlaybackController. Documented on the page of that interface. */ export const PlaybackStateReporter = defineInterface({ namespace: "Alexa.PlaybackStateReporter", version: "3", doc: "https://developer.amazon.com/docs/alexaplus/device-apis/alexa-playbackcontroller.html", kind: "sensor", tier: 2, instanced: false, properties: { playbackState: { name: "playbackState", value: s.object({ state: s.enum("PLAYING", "PAUSED", "STOPPED") }) }, }, directives: {}, });