Provide users with current, actionable information connected to a reservation.
Frameworks
- Intents
- Intents
UI
Overview
Siri can expose reservation information from your app in context and at specific times so the user can take relevant actions based on the circumstances. Your app donates an INInteraction
object that contains information about the reservation that can be sent to the user to allow them to confirm a hotel reservation, remind them to check in for a flight, help them return a rental car, and several other options.
Apps offering reservations with check-in capabilities can integrate with Shortcuts Suggestions on the Lock Screen and allow users to launch your app to complete checking in for their reservation. Create a new reservation object with an array of INReservation
objects that contain the user activity and relevant time frame. Siri provides users with the ability to launch your app with the user activity and time frame information. For instance, a flight reservation app may provide users the ability to check-in for a flight starting 24 hours before the departure time.