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

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

        @Nullable
        public java.lang.Long getSessionStartTime()
      • getSessionID

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

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