Package 

Class EHTrafficFlow

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class EHTrafficFlow
     implements Parcelable
                        

    Data model representing EH traffic flow.

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final EHDistance getDistance() The distance information of the traffic flow.
      final Float getLength() Length in meters of this flow.
      final Integer getLevel() The flow level of this traffic flow.
      final EHSpeed getAverageSpeed() Average speed in km/h of all roads that affected by this traffic flow.
      • Methods inherited from class java.lang.Object

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

      • EHTrafficFlow

        EHTrafficFlow(EHDistance distance, Float length, Integer level, EHSpeed averageSpeed)
    • Method Detail

      • getLength

         final Float getLength()

        Length in meters of this flow. Default value is Float.MAX_VALUE which indicates invalid value.

      • getLevel

         final Integer getLevel()

        The flow level of this traffic flow.

      • getAverageSpeed

         final EHSpeed getAverageSpeed()

        Average speed in km/h of all roads that affected by this traffic flow.