Class IdentityContract.DriverSession

  • All Implemented Interfaces:
    android.os.Parcelable
    Enclosing class:
    IdentityContract

    public static class IdentityContract.DriverSession
    extends java.lang.Object
    implements android.os.Parcelable
    Object containing the driver session.
    • Constructor Detail

      • DriverSession

        public DriverSession()
      • DriverSession

        protected DriverSession​(android.os.Parcel in)
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        Retrieve driver user name
        Returns:
        username
      • setUsername

        public void setUsername​(java.lang.String username)
        Set user name
        Parameters:
        username -
      • writeToParcel

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

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