HorizonElementType

public struct HorizonElementType : RawRepresentable, Hashable

Defines the interface to horizon element types.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializer to create a custom HorizonElementType. Will return nil if the raw value overrides a type created by TomTom.

    Declaration

    Swift

    public init?(rawValue: String)

Public

  • Declaration

    Swift

    public let rawValue: String