question

newuser-8aeb3f79-e874-4321-b35b-1323020dbfa9 avatar image

How to work with skill resumption?`

Hi All!

I have signed up for skill resumption & received the docs. I have read the docs multiple times, but struggled to find out how I can put it in practice. In short, I would like to make this timer API backgrounded-foregrounded so when the 40 minute passes, Alexa reopens the session for the user to interact instead of just the echo device making the timer sound as it would do normally:

timer_request = {
    "duration": "PT40M",
    "timerLabel": "Change name",
    "creationBehavior": {
        "displayExperience": {
            "visibility": "VISIBLE"
        }
    },
    "triggeringBehavior": {
        "operation": {
            "type": "ANNOUNCE", 
            "textToAnnounce": [
                {
                    "locale": "en-US",
                    "text": "Would you like to proceed with the the second task?"
                }
            ]
        },
        "notificationConfig": {
            "playAudible": True 
        }
    }
}
timers-aoskill-resumption
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered

Hi there,

Backgrounded-foregrounded feature currently in beta and request you to reach out to concerned person who helped you get onboarded with this feature.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.