Class SpeedCameraInfo

java.lang.Object
geolife.android.navigationsystem.internal.NativePointerHolder
com.navmii.sdk.common.SpeedCameraInfo

public class SpeedCameraInfo
extends geolife.android.navigationsystem.internal.NativePointerHolder
  • Method Summary

    Modifier and Type Method Description
    int getId()  
    float getOrientation()  
    float getSpeedLimit()  
    SpeedCameraType getType()  
    boolean isBidirectional()  
    boolean isOriented()  
    java.lang.String toString()  

    Methods inherited from class geolife.android.navigationsystem.internal.NativePointerHolder

    destroy

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getId

      public int getId()
      Returns:
      The unique identifier of the camera.
    • getType

      public SpeedCameraType getType()
      Returns:
      The type of the camera.
    • getSpeedLimit

      public float getSpeedLimit()
      Returns:
      The speed limit of the camera in km/h or 0 if it doesn't have one.
    • isOriented

      public boolean isOriented()
      Returns:
      True if the camera is oriented, false otherwise.
    • getOrientation

      public float getOrientation()
      Returns:
      The orientation of the camera in degreees, measured clockwise, where 0 means that the camera is directed at north.
    • isBidirectional

      public boolean isBidirectional()
      Returns:
      True if the camera is bidirectional, false otherwise.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object