Class

CPTripPreviewTextConfiguration

A configuration object that lets you change the button titles displayed on a trip preview.

Declaration

class CPTripPreviewTextConfiguration : NSObject

Topics

Creating a Text Configuration Object

Setting Button Titles

var startButtonTitle: String?

The title displayed on the start button.

var additionalRoutesButtonTitle: String?

The title displayed on the routes button.

var overviewButtonTitle: String?

The title displayed on the overview button.

Relationships

Inherits From

See Also

Displaying Trip Previews

func showTripPreviews([CPTrip], textConfiguration: CPTripPreviewTextConfiguration?)

Displays the preview for one or more trips and allows route selection.

func hideTripPreviews()

Hides the display of trip previews.