Skip to main content
100%

Gist 6e87e5526f80c649c74cc3448288aa5f

✓ Published0🌍 Public
Aandrewxhill
Last edited Jul 11, 2017
Created on May 31, 2017

The visualization demonstrates a context-aware notification system using the SetSDK, configured to trigger an alert upon exiting a home location during morning hours. The code defines a `SetSDK.Context` object with properties for notification timing, event action, event state, and time of day. It uses Swift to construct the context, specifying `.upon` for immediate notification, `.exit` for the event action, `.home` as the place type, and `.morning` as the time window. The example shows how to programmatically set up location-based triggers for mobile notifications, highlighting the SDK’s API for contextual event handling.

AI-generated description

Similar vizzes