Class SpaceConfiguration

  • All Implemented Interfaces:
    android.os.Parcelable

    public class SpaceConfiguration
    extends java.lang.Object
    implements android.os.Parcelable
    Configuration options used for retrieving a Space.

    Build with the SpaceConfiguration.Builder using SpaceConfiguration.newBuilder()... .build();

    In the event of an invalid configuration the builder will throw a SpaceConfigurationException.

    SpaceConfiguration implements Parcelable so it can easily be attached as an Intent extra and passed between Activities.

    • Field Detail

      • spaceId

        public final java.lang.String spaceId
      • environmentId

        public final long environmentId
      • participantId

        public final java.lang.String participantId
      • signalsHost

        public final java.lang.String signalsHost
      • displayName

        public java.lang.String displayName
      • managedSubscriptions

        public final int managedSubscriptions
    • Method Detail

      • newBuilder

        public static SpaceConfiguration.Builder newBuilder()
        Retrieve a new builder to construct a SpaceConfiguration
        Returns:
      • describeContents

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

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

        public java.lang.String getJWTToken()
      • 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