Package com.mparticle

Class Session

  • public class Session
    extends java.lang.Object
    Public Session API exposing characteristics of a given session.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      long getSessionID()
      Query for the hashed session ID.
      java.lang.Long getSessionStartTime()  
      java.lang.String getSessionUUID()
      Query for the session UUID.
      • Methods inherited from class java.lang.Object

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

      • getSessionUUID

        public java.lang.String getSessionUUID()
        Query for the session UUID.
        returns a UUID v4 capitalized string representing the unique session ID.
      • getSessionStartTime

        public java.lang.Long getSessionStartTime()
      • getSessionID

        public long getSessionID()
        Query for the hashed session ID.
        returns the fnv1a 64-bit hash of the session ID utf-16le bytes.
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object obj)
        equals in class java.lang.Object