SYChargingWaypoint represents a charging station added to EV route by computeEVRoute method.
More...
#import <SYRoutingWaypoint.h>
|
((unavailable("Use initializer with parameters instead.") | + __attribute__ |
|
|
SYPlaceLink * | link |
| Link to place which represents the best charging station accessible from specific point on route. More...
|
|
NSArray< SYChargingWaypoint * > * | alternatives |
| Alternative charging stations accessible from specific charging point on route. More...
|
|
float | chargingPower |
| Charging power in kW which is used to deduce charging time at waypoint. Can be used as alternative to link if link is unavailable. Default value is -1, which means "unspecified". More...
|
|
NSInteger | chargingTime |
| Duration in seconds which should be spent on the charging station. Can be used as alternative to link if link is unavailable. Default value is -1, which means "unspecified". More...
|
|
SYChargingWaypointType | chargingWaypointType |
| Indicates if the waypoint is suggested automatically by routing algorithm or requested directly by a user. More...
|
|
SYGeoCoordinate * | originalPosition |
| Position for flag/pin. The original position is required for a route calculation. By default, this is set to be the same as the geocoordinates provided during construction of this SYWaypoint. More...
|
|
SYGeoCoordinate * | navigablePosition |
| Represents the suggested navigable position of the SYWaypoint - typically the coordinates on the road closest to the original position - to be used in a route calculation. Working together with the navigable position, the original position is used by the Sygic SDK for determining the side of street during arrival, and to let the calculated route approach the correct side of street, especially when there there is a physical or logical lane divider on the road. More...
|
|
SYGeoCoordinate * | selectedPosition |
| Represents the selected accessible position of the SYWaypoint. This is nil before route calculation. This is only available after route calculation. More...
|
|
NSArray< SYGeoCoordinate * > * | mappedPositions |
| Represents list of accessible positions of the SYWaypoint. This is nil before route calculation. This is only available after route calculation. More...
|
|
SYWaypointType | type |
| Determines the waypoint type. More...
|
|
SYWaypointStatus | status |
| Determines if waypoint is reached or not. More...
|
|
NSString * | name |
| Waypoint's name. More...
|
|
SYDistance | distanceFromStart |
| Distance from route start in meters. More...
|
|
NSUInteger | delay |
| Delay in seconds. More...
|
|
SYChargingWaypoint represents a charging station added to EV route by computeEVRoute method.
◆ SYChargingWaypointCompatibilityCompletionBlock
- (typedef void(^ SYChargingWaypointCompatibilityCompletionBlock) (BOOL isCompatible)) |
◆ initWithPlaceLink:type:name:
- (nonnull instancetype) initWithPlaceLink: |
|
(nonnull SYPlaceLink *) |
placeLink |
type: |
|
(SYWaypointType) |
type |
name: |
|
(nullable NSString *) |
name |
|
|
| |
◆ initWithPower:position:type:name:
- (nonnull instancetype) initWithPower: |
|
(float) |
power |
position: |
|
(nonnull SYGeoCoordinate *) |
position |
type: |
|
(SYWaypointType) |
type |
name: |
|
(nullable NSString *) |
name |
|
|
| |
◆ initWithChargingTime:position:type:name:
- (nonnull instancetype) initWithChargingTime: |
|
(NSInteger) |
chargingTime |
position: |
|
(nonnull SYGeoCoordinate *) |
position |
type: |
|
(SYWaypointType) |
type |
name: |
|
(nullable NSString *) |
name |
|
|
| |
◆ __attribute__ [1/2]
- ((unavailable("Use initializer with parameters instead.") __attribute__ |
|
|
|
◆ __attribute__ [2/2]
+ ((unavailable("Use initializer with parameters instead.") __attribute__ |
|
|
|
◆ initWithPosition:type:name:
- (nonnull instancetype) initWithPosition: |
|
(nonnull SYGeoCoordinate *) |
position |
type: |
|
(SYWaypointType) |
type |
name: |
|
((unavailable("This initializer of parent class is unavailable from child class."))) |
__attribute__ |
|
|
| |
◆ isCompatibleWithEVProfile:
- (BOOL) isCompatibleWithEVProfile: |
|
(isCompatible(with:)) |
NS_SWIFT_NAME |
|
Checks if the charging waypoint can be used with the specified EV profile.
- Deprecated:
- Please use asynchronous version of this function named checkCompatibilityWithEVProfile(completion:) instead
◆ checkCompatibilityWithEVProfile:completion:
- (void) checkCompatibilityWithEVProfile: |
|
(nonnull SYEVProfile *) |
evProfile |
completion: |
|
(checkCompatibility(with:completion:)) |
NS_SWIFT_NAME |
|
|
| |
Checks if the charging waypoint can be used with the specified EV profile.
◆ link
Link to place which represents the best charging station accessible from specific point on route.
◆ alternatives
Alternative charging stations accessible from specific charging point on route.
◆ chargingPower
Charging power in kW which is used to deduce charging time at waypoint. Can be used as alternative to link if link is unavailable. Default value is -1, which means "unspecified".
◆ chargingTime
- (NSInteger) chargingTime |
|
readnonatomicassign |
Duration in seconds which should be spent on the charging station. Can be used as alternative to link if link is unavailable. Default value is -1, which means "unspecified".
◆ chargingWaypointType
- (SYChargingWaypointType) chargingWaypointType |
|
readnonatomicassign |
Indicates if the waypoint is suggested automatically by routing algorithm or requested directly by a user.
The documentation for this class was generated from the following file: