Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Launch a timer of the `Timers` app directly.

Can I launch a timer of the `Timers` app directly?

 

When I say Alexa "Set timer to 3 minutes", the `Timers` app will launch and the countdown will start immediately. I want to same thing from my app.

 

I know `launchApp` function that is launches an application. And I also know that uuid of `Timers` app  is `000013ed-0000-4000-8000-000000f17b17`. But those are not enough. The code below just launches the app and doesn't start the countdown.

 

 

import { launchApp } from "system";
launchApp("000013ed-0000-4000-8000-000000f17b17");

 

 

`launch App` function has an optional second argument,` launchArguments`. I think that I need `launchArguments`.

 

 

import { launchApp } from "system";
const launchArguments = {
  // I want to know what to write here! 
}
launchApp("000013ed-0000-4000-8000-000000f17b17", launchArguments);

 

 

But, the specifications for the `Timer` app are probably not published. Can I know the specifications of the `launchArguments` of the `Timers` app? Or, Are there another ways to achieve the above?

Best Answer
0 REPLIES 0