Interface TrafficSnapshot

All Known Implementing Classes:
TrafficSnapshot.CppProxy

public interface TrafficSnapshot
Traffic snapshot around the GPS coordinates.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  TrafficSnapshot.CppProxy  
  • Method Summary

    Modifier and Type Method Description
    MapCoordinates areaCenter()
    The center of a geo area the snapshot corresponds to.
    int areaRadiusInMeters()
    The radius (in meters) of a geo area the snapshot corresponds to.
    int uid()
    Unique traffic snapshot ID.
  • Method Details

    • uid

      int uid()
      Unique traffic snapshot ID. -1 indicates snapshot is empty.
    • areaCenter

      MapCoordinates areaCenter()
      The center of a geo area the snapshot corresponds to.
    • areaRadiusInMeters

      int areaRadiusInMeters()
      The radius (in meters) of a geo area the snapshot corresponds to.