Echo Show 10, Smart Motion Test Center

Alexander Martin

Before using this document, you should enable the Smart Motion Interface for your skill. Save this document as "smartMotionTestCenter.json" and use it in your skill as follows.

const Alexa = require('ask-sdk-core');
const smartMotionTestCenter = require('./smartMotionTestCenter.json');

const LaunchRequestHandler = {
  canHandle(handlerInput) {
    return Alexa.getRequestType(handlerInput.requestEnvelope) === 'LaunchRequest';
  handle(handlerInput) {
    return handlerInput.responseBuilder
        type: 'Alexa.Presentation.APL.RenderDocument',
        token: 'SmartMotionTestCenter',
        document: smartMotionTestCenter

exports.handler = Alexa.SkillBuilders.custom()

More information about the Smart Motion extension can be found here.


Be the first to comment.