Initializes the intent object with the specified ride identifier.
- iOS 11.0+
- Mac Catalyst 13.0+Beta
The unique string that you use to identify the ride.
An initialized intent object or
nil if the object could not be created.
Normally, you do not create instances of this class yourself. Instead, SiriKit creates instances when the user must provide feedback for a ride or a user asks to provide feedback for a ride. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.