This release adds SDK support for the BodyTemplate7 for display interface
An example to add bodyTemplate7 to Display.RenderTemplate
is as follows:
const builder = new Alexa.templateBuilders.BodyTemplate7Builder();
const template = builder.setBackgroundImage(Alexa.utils.ImageUtils.makeImage('http://url/to/my/backgroundimg.png'))
.setBackButtonBehavior('HIDDEN')
.setImage(Alexa.utils.ImageUtils.makeImage('http://url/to/my/img.png'))
.build();
this.response.speak('Rendering a template!')
.renderTemplate(template);
this.emit(':responseReady');