Flashlight Uri Association
It is now possible to launch Flashlight
from another app through a Uri association. As with all our apps, we are using the standard Uri format:
Currently the only available page is MainPage.xaml, so passing it is optional, but recommended.
*The launchedFrom parameter is only used for statistics, but we would really like to know which apps are starting our own, so please set that parameter to the marketplace id or the name of your application.
- launchedFrom* - name or marketplace id of the app that launched the Uri
- initialState - forces the flashlight's on/off state when the app starts (values: "0" - off, "1" - on)
How to launch
- enlesssoft-flashlight:MainPage.xaml?launchedFrom=MyApp - launches the application and specifies that the app was launched from MyApp
- enlesssoft-flashlight:MainPage.xaml?initialState=1 - launches the application and specifies that the flashlight should turn on immediately