@@ -84,7 +84,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
84
84
- parameter trip: The trip that will be previewed.
85
85
- returns: The actual trip to be previewed. This can be the same trip or a new/alternate trip if desired.
86
86
*/
87
- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> ( CPTrip )
87
+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> CPTrip
88
88
89
89
/**
90
90
Offers the delegate the opportunity to customize a trip preview text configuration for a given trip.
@@ -94,7 +94,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
94
94
- parameter previewTextConfiguration: The trip preview text configuration that will be presented alongside the trip.
95
95
- returns: The actual preview text configuration to be presented alongside the trip.
96
96
*/
97
- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> ( CPTripPreviewTextConfiguration )
97
+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> CPTripPreviewTextConfiguration
98
98
99
99
/**
100
100
Offers the delegate the opportunity to react to selection of a trip. Certain trips may have alternate route(s).
@@ -103,22 +103,22 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
103
103
- parameter trip: The trip to begin navigating along.
104
104
- parameter routeChoice: The possible route for the chosen trip.
105
105
*/
106
- func carPlayManager( _ carPlayManager: CarPlayManager , selectedPreviewFor trip: CPTrip , using routeChoice: CPRouteChoice ) -> ( )
106
+ func carPlayManager( _ carPlayManager: CarPlayManager , selectedPreviewFor trip: CPTrip , using routeChoice: CPRouteChoice )
107
107
108
108
/**
109
109
Called when navigation begins so that the containing app can update accordingly.
110
110
111
111
- parameter carPlayManager: The CarPlay manager instance.
112
112
- parameter service: The navigation service that has begun managing location updates for a navigation session.
113
113
*/
114
- func carPlayManager( _ carPlayManager: CarPlayManager , didBeginNavigationWith service: NavigationService ) -> ( )
114
+ func carPlayManager( _ carPlayManager: CarPlayManager , didBeginNavigationWith service: NavigationService )
115
115
116
116
/**
117
117
Called when navigation ends so that the containing app can update accordingly.
118
118
119
119
- parameter carPlayManager: The CarPlay manager instance.
120
120
*/
121
- func carPlayManagerDidEndNavigation( _ carPlayManager: CarPlayManager ) -> ( )
121
+ func carPlayManagerDidEndNavigation( _ carPlayManager: CarPlayManager )
122
122
123
123
/**
124
124
Called when the CarPlayManager detects the user arrives at the destination waypoint for a route leg.
@@ -147,7 +147,7 @@ public protocol CarPlayManagerDelegate: AnyObject, UnimplementedLogging {
147
147
- parameter carPlayManager: The CarPlay manager instance.
148
148
- parameter navigationViewController: The CarPlayNavigationViewController that was presented on the CarPlay display.
149
149
*/
150
- func carPlayManager( _ carPlayManager: CarPlayManager , didPresent navigationViewController: CarPlayNavigationViewController ) -> ( )
150
+ func carPlayManager( _ carPlayManager: CarPlayManager , didPresent navigationViewController: CarPlayNavigationViewController )
151
151
152
152
/**
153
153
Tells the receiver that the `PointAnnotation` representing the final destination was added to either `CarPlayMapViewController` or `CarPlayNavigationViewController`.
@@ -207,15 +207,15 @@ public extension CarPlayManagerDelegate {
207
207
/**
208
208
`UnimplementedLogging` prints a warning to standard output the first time this method is called.
209
209
*/
210
- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> ( CPTrip ) {
210
+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip ) -> CPTrip {
211
211
logUnimplemented ( protocolType: CarPlayManagerDelegate . self, level: . debug)
212
212
return trip
213
213
}
214
214
215
215
/**
216
216
`UnimplementedLogging` prints a warning to standard output the first time this method is called.
217
217
*/
218
- func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> ( CPTripPreviewTextConfiguration ) {
218
+ func carPlayManager( _ carPlayManager: CarPlayManager , willPreview trip: CPTrip , with previewTextConfiguration: CPTripPreviewTextConfiguration ) -> CPTripPreviewTextConfiguration {
219
219
logUnimplemented ( protocolType: CarPlayManagerDelegate . self, level: . debug)
220
220
return previewTextConfiguration
221
221
}
0 commit comments