SHARE
TWEET

Untitled

a guest Aug 20th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top