Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <actions>
  2. <action intentName="actions.intent.START_EXERCISE">
  3. <fulfillment urlTemplate="https://www.xelion.com/start{?exerciseType}">
  4. <parameter-mapping
  5. intentParameter="exercise.name"
  6. urlParameter="exerciseType"/>
  7. </fulfillment>
  8.  
  9. <parameter name="exercise.name">
  10. <entity-set-reference entitySetId="EntitySet"/>
  11. </parameter>
  12. </action>
  13.  
  14. <entity-set entitySetId="EntitySet">
  15.  
  16. <!-- For each entity you can specify the name, alternate names and the identifier -->
  17. <!-- The identifier is the value that will be added to the action uri. -->
  18. <!-- For our sample we map the supported entities with the class FitActivity.Type -->
  19. <entity
  20. name="Running"
  21. identifier="RUNNING"/>
  22.  
  23. </entity-set>
  24.  
  25. </actions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement