Package com.mux.sdk.webrtc.spaces
Class SpaceConfiguration
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.SpaceConfiguration
-
- All Implemented Interfaces:
android.os.Parcelable
public class SpaceConfiguration extends java.lang.Object implements android.os.Parcelable
Configuration options used for retrieving aSpace
.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpaceConfiguration.Builder
A class for building SpaceConfigurations using the builder pattern.
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<SpaceConfiguration>
CREATOR
static int
DEFAULT_SUBSCRIPTIONS
java.lang.String
displayName
long
environmentId
int
managedSubscriptions
static int
MAXIMUM_SUBSCRIPTIONS
java.lang.String
participantId
Signals.Participant.ParticipantRole
role
java.lang.String
signalsHost
java.lang.String
spaceId
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(java.lang.Object o)
java.lang.String
getJWTToken()
int
hashCode()
static SpaceConfiguration.Builder
newBuilder()
Retrieve a new builder to construct a SpaceConfigurationvoid
writeToParcel(android.os.Parcel parcel, int flags)
-
-
-
Field Detail
-
MAXIMUM_SUBSCRIPTIONS
public static final int MAXIMUM_SUBSCRIPTIONS
- See Also:
- Constant Field Values
-
DEFAULT_SUBSCRIPTIONS
public static final int DEFAULT_SUBSCRIPTIONS
- See Also:
- Constant Field Values
-
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
-
role
public final Signals.Participant.ParticipantRole role
-
managedSubscriptions
public final int managedSubscriptions
-
CREATOR
public static final android.os.Parcelable.Creator<SpaceConfiguration> CREATOR
-
-
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 interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel parcel, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
getJWTToken
public java.lang.String getJWTToken()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-