Determines whether your complication can provide timeline entries for the future or the past.
- watchOS 2.0+
The complication tied to the request.
The handler to execute with the Time Travel directions. This block has no return value and takes the following parameter:
The supported time travel directions. You may combine the values of the
CLKComplicationtype when specifying this value.
Time Travel Directions
The system calls this method to determine whether your app can provide future or past data entries for the specified complication type. Your implementation of this method must execute the block in the
handler parameter and specify the supported directions.
backward constant if your app provides a historical record of events that have occurred or information that was valid at specific times. For example, a music app could provide entries for songs that have already played.
forward constant if your app is able to generate complication data tied to future dates. For example, a calendar app would provide entries for future meeting times.