-
public final class SessionOptionsOptions for creating a Session.
-
-
Field Summary
Fields Modifier and Type Field Description private final Roomroomprivate final DurationagentConnectTimeoutprivate final TokenRequestOptionstokenRequestOptions
-
Constructor Summary
Constructors Constructor Description SessionOptions(Room room, Duration agentConnectTimeout, TokenRequestOptions tokenRequestOptions)
-
Method Summary
Modifier and Type Method Description final RoomgetRoom()The Room to use. final DurationgetAgentConnectTimeout()Amount of time to wait for an agent to join the room, before transitioning the Agent to the failure state. final TokenRequestOptionsgetTokenRequestOptions()The options to use when fetching the token, if it is fetching from a ConfigurableTokenSource. -
-
Constructor Detail
-
SessionOptions
SessionOptions(Room room, Duration agentConnectTimeout, TokenRequestOptions tokenRequestOptions)
-
-
Method Detail
-
getRoom
final Room getRoom()
The Room to use. If null is passed, one will be created for you.
-
getAgentConnectTimeout
final Duration getAgentConnectTimeout()
Amount of time to wait for an agent to join the room, before transitioning the Agent to the failure state.
-
getTokenRequestOptions
final TokenRequestOptions getTokenRequestOptions()
The options to use when fetching the token, if it is fetching from a ConfigurableTokenSource.
These options will be ignored for a FixedTokenSource.
-
-
-
-