Package com.mux.sdk.webrtc.spaces
Class SpaceConfiguration
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.SpaceConfiguration
-
public class SpaceConfiguration extends java.lang.Object
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
.
-
-
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 long
environmentId
int
managedSubscriptions
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 boolean
equals(java.lang.Object o)
java.lang.String
getJWTToken()
int
hashCode()
static SpaceConfiguration.Builder
newBuilder()
Retrieve a new builder to construct a SpaceConfiguration
-
-
-
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
-
role
public final Signals.Participant.ParticipantRole role
-
managedSubscriptions
public final int managedSubscriptions
-
-
Method Detail
-
newBuilder
public static SpaceConfiguration.Builder newBuilder()
Retrieve a new builder to construct a SpaceConfiguration- Returns:
-
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
-
-