Class RealTimeRequest

  • All Implemented Interfaces:
    android.os.Parcelable

    public class RealTimeRequest
    extends java.lang.Object
    implements android.os.Parcelable
    Represents the configuration for getting realtime devices positions in
    See Also:
    RealTimeManager
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RealTimeRequest.Builder
      Builder to create a RealTimeRequest instance By default the poll time will be setted to 10 seconds.
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<RealTimeRequest> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<RealTimeRequest> CREATOR
    • Method Detail

      • getBuilding

        public Building getBuilding()
        Returns:
        building
      • getPollTime

        public int getPollTime()
        Returns:
        poll time milliseconds
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable
      • toString

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