Saw that there’s an Alexa function called getViewportProfile:
I was wondering if this was supported by Jovo
Saw that there’s an Alexa function called getViewportProfile:
I was wondering if this was supported by Jovo
Not exactly the same, but similar.
this.$alexaSkill.getDeviceName()
Returns one of those…
export enum AlexaDeviceName {
ALEXA_AUDIO_ONLY = 'AUDIO_ALEXA_AUDIO_ONLY',
ALEXA_HUB_SMALL_ROUND = 'ALEXA_HUB_SMALL_ROUND',
ALEXA_HUB_SMALL_RECTANGLE = 'ALEXA_HUB_SMALL_RECTANGLE',
ALEXA_HUB_MEDIUM_RECTANGLE = 'ALEXA_HUB_MEDIUM_RECTANGLE',
ALEXA_HUB_LARGE_RECTANGLE = 'ALEXA_HUB_LARGE_RECTANGLE',
ALEXA_TV_XLARGE_RECTANGLE = 'ALEXA_TV_XLARGE_RECTANGLE',
ALEXA_UNSPECIFIED = 'ALEXA_UNSPECIFIED',
ALEXA_UNSPECIFIED_SCREEN = 'ALEXA_UNSPECIFIED_SCREEN'
}
Yes, it works with Google Actions, too.
export enum GoogleAssistantDeviceName {
GOOGLE_ASSISTANT_SPEAKER = 'GOOGLE_ASSISTANT_SPEAKER',
GOOGLE_ASSISTANT_PHONE = 'GOOGLE_ASSISTANT_PHONE',
GOOGLE_ASSISTANT_SMARTDISPLAY = 'GOOGLE_ASSISTANT_SMARTDISPLAY',
}
It doesn’t seem like this.$googleAction.getDeviceName() is working (Cloudwatch is saying this.$googleAction.getDeviceName is not a function. Is it named something else?