Package 

Interface VehicleController

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void setLocation(@NonNull() Location location) * Update the Vehicle Location
      abstract void setIcon(@NonNull() Bitmap bitmap) * Set a 2D representation for the vehicle
      abstract void setIcon(@DrawableRes() int resourceId) * Set a 2D representation for the vehicle
      abstract boolean setModel(@RawRes() int resourceId) * Set a 3D representation for the vehicle
      abstract void setModel(@NonNull() Array<byte> data) * Set a 3D representation for the vehicle
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • setLocation

         abstract void setLocation(@NonNull() Location location)

        * Update the Vehicle Location

        Parameters:
        location - the new vehicle location from gps source or driveSession
      • setIcon

         abstract void setIcon(@NonNull() Bitmap bitmap)

        * Set a 2D representation for the vehicle

        Parameters:
        bitmap - the image to represent the vehicle with
      • setIcon

         abstract void setIcon(@DrawableRes() int resourceId)

        * Set a 2D representation for the vehicle

        Parameters:
        resourceId - the resource to represent the vehicle with
      • setModel

         abstract boolean setModel(@RawRes() int resourceId)

        * Set a 3D representation for the vehicle

        Parameters:
        resourceId - the 3d model from resource/raw folder
      • setModel

         abstract void setModel(@NonNull() Array<byte> data)

        * Set a 3D representation for the vehicle

        Parameters:
        data - the 3d model data loaded as a byte array