iOS 14 widget — intents

I have a widget with a .intentdefinition file set up, and I can select from my enum when running my widget, but I'm not sure how to use this information in the code.

What I want to be able to do is run different code in getTimeline based on what the user selects in the widget settings.

If anyone could help, that'd be greatly appreciated. Thanks!

iOS 14 widget — intents
 
 
Q