Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <actions>
- <action intentName="actions.intent.START_EXERCISE">
- <fulfillment urlTemplate="https://www.xelion.com/start{?exerciseType}">
- <parameter-mapping
- intentParameter="exercise.name"
- urlParameter="exerciseType"/>
- </fulfillment>
- <parameter name="exercise.name">
- <entity-set-reference entitySetId="EntitySet"/>
- </parameter>
- </action>
- <entity-set entitySetId="EntitySet">
- <!-- For each entity you can specify the name, alternate names and the identifier -->
- <!-- The identifier is the value that will be added to the action uri. -->
- <!-- For our sample we map the supported entities with the class FitActivity.Type -->
- <entity
- name="Running"
- identifier="RUNNING"/>
- </entity-set>
- </actions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement