core library - Dart API
core
core library
Classes
- Anchor2D
- Represents a point in a rectangle as a ratio of this rectangle's width and height.
- Angle
- Represents an angle independent of the unit of measurement.
- AngleRange
- Represents angle ranges as a circular sector by using an absolute start angle and a relative range angle called extent.
- Authentication
- Use the authentication class to authenticate and retrieve a secure token that can be used with other HERE services.
- AuthenticationData
- Authentication data
- CustomMetadataValue
- Abstract class for storing arbitrary metadata types.
- ExternalID
- Identifier of the entity as provided by the external source
- GeoBox
- Represents a bounding rectangle aligned with latitude and longitude.
- GeoCircle
- Represents a circle area in 2D space.
- GeoCoordinates
- Represents geographical coordinates in 3D space.
- GeoCoordinatesUpdate
- Represents geographical coordinates in 3D space.
- GeoCorridor
- A geographical area that wraps around a geographical polyline with a given distance.
- GeoOrientation
- Geodetic orientation with bearing, tilt and roll.
- GeoOrientationUpdate
- Describes geodetic orientation update with bearing and tilt.
- GeoPolygon
-
Represents a
GeoPolygonarea as a series of geographic coordinates, and optionally, a list of inner boundaries (also known as holes). - GeoPolyline
- A list of geographic coordinates representing the vertices of a polyline.
- IntegerRange
- An integer range [min, max] with inclusive minimum and maximum value.
- LocalizedText
- Used to represent text localized to specific language.
- LocalizedTexts
- The list of multiple names or titles for the same entity, possibly in different languages.
- Location
- Describes a location in the world at a given time.
- LocationListener
- This abstract class should be implemented in order to receive notifications about location updates.
- LocationTime
- This struct presents all the time data tied to a location, like an arrival or departure time.
- Metadata
- Holds metadata on behalf of a map item.
- NameID
- Structure to represent name-id pairs.
- NetworkEndpoint
- Network endpoint.
- ParameterConfiguration
- Contains values of configurable parameters that are used in SDK.
- PedestrianProfile
- Contains values of pedestrian profile.
- PickedPlace
- Carries the result of picking a Carto POI (point of interest) object.
- Point2D
- Represents a point in 2D space.
- Point3D
- Represents a point in 3D space.
- PolylineSimplifier
- PolylineSimplifier helps to reduce the number of points in the polyline by removing redundant elements using Douglas–Peucker algorithm, so that result stays within PolylineSimplifierOptions.
- PolylineSimplifierOptions
- Controls the strategy of PolylineSimplifier.simplify when reducing a size of polyline.
- Rectangle2D
- Represents a 2D rectangle defined by the origin and size.
- SdkContext
- Size2D
- Represents the size of a 2D structure.
- TimeRule
- Used to indicate a time period of one or more intervals in GDF specification.
- TransportProfile
- Contains values of transport profile.
Enums
- AuthenticationError
- Authentication error
- CardinalDirection
- Indicates the official directional identifier assigned to this road.
- CountryCode
- This enum represents country codes in accordance with the ISO 3166-1 standard using alpha-3 codes.
- CurrentType
- This enum represents the type of electric current
- GeoPolylineDirection
- Defines if a function on a GeoPolyline computes the operation starting from the beginning or from the end of GeoPolyline.vertices.
- IsolateOrigin
- LanguageCode
- This enum represents language codes.
- LocationSource
- Indicates where the location was computed.
- LocationTechnology
- Technology or provider of the location.
- MetadataType
- Different types of objects that can be stored in a Metadata class instance.
- PolylineSimplificationError
- Error code which specifies, what went wrong during PolylineSimplifier.simplify operation.
- RouteType
- Indicates the level of significance of a route in a range from 1 to 6.
- UnitSystem
- Represents the available unit systems(imperial/metric).
Typedefs
- AuthenticationCallback = void Function(AuthenticationError? authenticationError, AuthenticationData? authenticationData)
- Callback passed to Authentication.authenticateWithSDKNativeEngine.
-
PolylineSimplificationCallback
= void Function(PolylineSimplificationError? queryError, List<
GeoCoordinates> ? result) - The method will be called on the main thread when PolylineSimplifier.simplify is finished.
Exceptions / Errors
- AuthenticationExceptionException
- Authentication exception