Package 

Class EHTrafficFlow

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class EHTrafficFlow
     implements Parcelable
                        

    This structure defines the traffic flow information.

    • 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 android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

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

      • getLength

         final Float getLength()

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

      • getAverageSpeed

         final EHSpeed getAverageSpeed()

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