Contents

canceledByUser()

Creates an instance of this class that indicates the user canceled the ride.

Declaration

class func canceledByUser() -> Self

Return Value

An initialized INRideCompletionStatus object.

Discussion

Use this method when the user cancels the ride. This method sets the isCanceled property of the returned object to true, and it sets the isCompleted, isMissedPickup, and isOutstanding properties to false.

See Also

Creating a Ride Completion Status Object