CPNavigationWaypoint.CreateWithVariants Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a waypoint with display name and address variants.
public static CarPlay.CPNavigationWaypoint CreateWithVariants(CarPlay.CPLocationCoordinate3D centerPoint, Foundation.NSMeasurement<Foundation.NSUnitLength>? locationThreshold, string[] nameVariants, string[] addressVariants, CarPlay.CPLocationCoordinate3D[]? entryPoints, Foundation.NSTimeZone? timeZone);
static member CreateWithVariants : CarPlay.CPLocationCoordinate3D * Foundation.NSMeasurement<Foundation.NSUnitLength> * string[] * string[] * CarPlay.CPLocationCoordinate3D[] * Foundation.NSTimeZone -> CarPlay.CPNavigationWaypoint
Parameters
- centerPoint
- CPLocationCoordinate3D
The center point of the waypoint.
- locationThreshold
- NSMeasurement<NSUnitLength>
The optional distance threshold for reaching the waypoint.
- nameVariants
- String[]
The waypoint display names, ordered from most to least preferred.
- addressVariants
- String[]
The waypoint addresses, ordered from most to least preferred.
- entryPoints
- CPLocationCoordinate3D[]
The optional entry points for the waypoint.
- timeZone
- NSTimeZone
The optional time zone for the waypoint.
Returns
A new waypoint.