Package 

Class MMFeedbackInfo

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class MMFeedbackInfo
     implements Parcelable
                        

    Data model representing MM feedback info.

    Instances are typically immutable after construction. Use builders or factory methods where provided.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MMFeedbackInfo(Long drTimestamp, LatLon location, Integer heading, Boolean isTunnel, Float confidence, Float probability, Float distFromBifurcationBehind, Float distToBifurcationAhead)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getDrTimestamp() The time stamp of the raw GPS data.
      final LatLon getLocation() The location of map matching feedback, lat/lon is in unit of degree.
      final Integer getHeading() The heading of map matching feedback, in unit of degree.
      final Boolean isTunnel() Whether car in tunnel
      final Float getConfidence() Positioning confidence of the feedback location, range:0.0, 1.
      final Float getProbability() Positioning probability of the feedback location, range:0.0, 1.
      final Float getDistFromBifurcationBehind() Distance from the vehicle to bifurcation point behind Will be -1.
      final Float getDistToBifurcationAhead() Distance from the vehicle to bifurcation point ahead, unit meters Note: -1.0f as default represents invalid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MMFeedbackInfo

        MMFeedbackInfo(Long drTimestamp, LatLon location, Integer heading, Boolean isTunnel, Float confidence, Float probability, Float distFromBifurcationBehind, Float distToBifurcationAhead)
    • Method Detail

      • getDrTimestamp

         final Long getDrTimestamp()

        The time stamp of the raw GPS data. this is CPU time stamp in milliseconds

      • getLocation

         final LatLon getLocation()

        The location of map matching feedback, lat/lon is in unit of degree.

      • getHeading

         final Integer getHeading()

        The heading of map matching feedback, in unit of degree. North is zero,clockwise; 0-359, UINT16_MAX as invalid

      • isTunnel

         final Boolean isTunnel()

        Whether car in tunnel

      • getConfidence

         final Float getConfidence()

        Positioning confidence of the feedback location, range:0.0, 1.0

      • getProbability

         final Float getProbability()

        Positioning probability of the feedback location, range:0.0, 1.0

      • getDistFromBifurcationBehind

         final Float getDistFromBifurcationBehind()

        Distance from the vehicle to bifurcation point behind Will be -1.0f if vehicle is not on the road or the bifurcation point behind the vehicle is not found in the data held by the engine

      • getDistToBifurcationAhead

         final Float getDistToBifurcationAhead()

        Distance from the vehicle to bifurcation point ahead, unit meters Note: -1.0f as default represents invalid. Note: the return value will be nullopt, if 1 || 2 is true 1.the vehicle is not on the road 2.the vehicle is on the road, and the bifurcation point ahead the vehicle is not found in the data held by the engine