Actions
Actions define custom behaviours depending on content type.
Below is a list of actions with the content types that can use them.
On Tap
Triggered when the user taps on the content object.
Action | Content Type | Description |
---|---|---|
Enlarge | Image | Make the image go full screen. |
Link to | Image, Text, Button | Link to a web URL. |
Go to scene | Image, Text, Button | Transition to a specified scene. |
Dial telephone number | Image, Text, Button | Launches the telephone application with number pre-filled. Requires device being able to send calls. |
Compose email | Image, Text, Button | Launches the default mail application with email data pre-filled. |
Save contact | Image, Text, Button | Launches the contact application with contact data pre-filled. |
Add to calendar | Image, Text, Button | Launches the calendar application with event data pre-filled |
User File upload | Image, Text, Button | Launches a custom page where files can be uploaded. Uploaded files can be viewed from the zapcode page. |
Host app message | Image, Text, Button | Send the host app a message (for embed components). See 'Zap to App Communication' articles in the App Embed documentation. |
On Finish
Triggered when the content object has finished playing.
Action | Content Type | Description |
---|---|---|
Go to scene | Video, Sound | Transition to a specified scene. |
Link to | Video, Sound | Link to a web URL. |
Host app message | Video, Sound | Send the host app a message (for embed components). See 'Zap to App Communication' articles in the App Embed documentation. |