Classes

The following classes are available globally.

  • Represents work with EventSubscriber in combine way.

    Important

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

    Declaration

    Swift

    public class CombineEventsPublisher<T> : Publisher where T : Event
  • EventChannel - generic helper class that allows EventPublisher and EventSubsciber to communicate with each other.

    Example:

     let cameraEventsChannel = EventChannel<CameraEvent>()
     cameraEventsChannel.subscriber.subscribe(target: self) { [weak self] event in
         self?.handle(cameraEvent: event)
     }
     cameraEventsChannel.publisher.publish(event: .cameraChanged(properties: cameraProperties))
    

    Method self?.handle(cameraEvent: event) will called when .cameraChanged(properties: cameraProperties) occures.

    Important

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

    Declaration

    Swift

    public class EventChannel<T> where T : Event
  • EventPublisher - generic helper class used for propagating events. The event needs to implement the Event protocol.

    Important

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

    Declaration

    Swift

    public class EventPublisher<T> where T : Event
  • EventSubscriber - generic helper class used for subscribing events. The event needs to implement the Event protocol in order to listen for it.

    Important

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

    Declaration

    Swift

    public class EventSubscriber<T> where T : Event

PointGeometry

  • A single position.

    Important

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

    Declaration

    Swift

    public class PointGeometry : GeoJSON

MultiPointGeometry

  • An array of positions.

    Important

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

    Declaration

    Swift

    public class MultiPointGeometry : GeoJSON

LineStringGeometry

  • An array of 2 or more positions.

    Important

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

    Declaration

    Swift

    public class LineStringGeometry : GeoJSON

MultiLineStringGeometry

  • An array of lineString coordinate arrays.

    Important

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

    Declaration

    Swift

    public class MultiLineStringGeometry : GeoJSON

PolygonGeometry

  • An array of linear rings.

    Important

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

    Declaration

    Swift

    public class PolygonGeometry : GeoJSON

MultiPolygonGeometry

  • An array of polygon coordinate arrays.

    Important

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

    Declaration

    Swift

    public class MultiPolygonGeometry : GeoJSON

FileOutput

  • FileOutput - Used to save logs into files. Logs are saved inside applicationSupportDirectory with golog file extension.

    Important

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

    Declaration

    Swift

    public class FileOutput : LoggerOutput

ConsoleOutput

  • FileOutput - Default logger output - prints logs using Swift.print

    Important

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

    Declaration

    Swift

    public class ConsoleOutput : LoggerOutput

Logger

  • Important

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

    Declaration

    Swift

    public class Logger

JSONResponseDecoder

StringResponseDecoder

JSONBodyCreator

HTTPHandler

  • HTTPHandler is a default implementation of HTTP REST client.

    Important

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

    Declaration

    Swift

    public class HTTPHandler : HTTPHandlerProtocol

NetworkMonitor

  • Important

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

    Declaration

    Swift

    public final class NetworkMonitor : NetworkMonitorProtocol
  • Important

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

    Declaration

    Swift

    public class PolylineEncoder
  • Important

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

    Declaration

    Swift

    open class BaseOperation : Operation

DistanceRangeFormatter

  • Important

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

    Declaration

    Swift

    public class DistanceRangeFormatter : DistanceRangeFormatterProtocol
  • Base class of asynchronous operation.

    Important

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

    Declaration

    Swift

    open class AsyncOperation : Operation

FileStorage

  • FileStorage allow to store data

    Important

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

    Declaration

    Swift

    public final class FileStorage<T> where T : Decodable, T : Encodable
  • Class allowing validation of keys.

    Important

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

    Declaration

    Swift

    public class KeyValidator

ObservableHandler

  • Important

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

    Declaration

    Swift

    public class ObservableHandler : ObservableProtocol
  • Schedules task on the main thread with throttling. Each subsequent task scheduled earlier than throttle interval expired, would cancel out the previous task. This class is not thread-safe, so all calls to it should be performed within the same thread.

    Important

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

    Declaration

    Swift

    public final class Throttler
  • An abstraction if UIView styling.

    Important

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

    Declaration

    Swift

    open class UIViewStyle<T> where T : UIView