public interface ISteamConfigurationBuilder
SteamConfiguration before it is created.
A reference to the underlying object should not be live beyond the configurator function's scope.| Modifier and Type | Method and Description |
|---|---|
ISteamConfigurationBuilder |
withCellID(int cellID)
Configures this
SteamConfiguration for a particular Steam cell. |
ISteamConfigurationBuilder |
withConnectionTimeout(long connectionTimeout)
Configures this
SteamConfiguration with a connection timeout. |
ISteamConfigurationBuilder |
withDefaultPersonaStateFlags(EClientPersonaStateFlag personaStateFlags)
Configures this
SteamConfiguration with the default EClientPersonaStateFlags to request from Steam. |
ISteamConfigurationBuilder |
withDefaultPersonaStateFlags(java.util.EnumSet<EClientPersonaStateFlag> personaStateFlags)
Configures this
SteamConfiguration with the default EClientPersonaStateFlags to request from Steam. |
ISteamConfigurationBuilder |
withDirectoryFetch(boolean allowDirectoryFetch)
Configures this
SteamConfiguration to discover available servers. |
ISteamConfigurationBuilder |
withHttpClient(okhttp3.OkHttpClient httpClient)
Configures this
SteamConfiguration with custom HTTP behaviour. |
ISteamConfigurationBuilder |
withProtocolTypes(java.util.EnumSet<ProtocolTypes> protocolTypes)
Configures how this
SteamConfiguration will be used to connect to Steam. |
ISteamConfigurationBuilder |
withProtocolTypes(ProtocolTypes protocolTypes)
Configures how this
SteamConfiguration will be used to connect to Steam. |
ISteamConfigurationBuilder |
withServerListProvider(IServerListProvider provider)
Configures the server list provider for this
SteamConfiguration. |
ISteamConfigurationBuilder |
withUniverse(EUniverse universe)
Configures the Universe that this
SteamConfiguration belongs to. |
ISteamConfigurationBuilder |
withWebAPIBaseAddress(java.lang.String baseAddress)
Configures the Steam Web API address for this
SteamConfiguration. |
ISteamConfigurationBuilder |
withWebAPIKey(java.lang.String webApiKey)
Configures this
SteamConfiguration with a Web API key to attach to requests. |
ISteamConfigurationBuilder withCellID(int cellID)
SteamConfiguration for a particular Steam cell.cellID - The Steam Cell ID to prioritize when connecting.ISteamConfigurationBuilder withConnectionTimeout(long connectionTimeout)
SteamConfiguration with a connection timeout.connectionTimeout - The connection timeout used when connecting to Steam serves.ISteamConfigurationBuilder withHttpClient(okhttp3.OkHttpClient httpClient)
SteamConfiguration with custom HTTP behaviour.httpClient - the http clientISteamConfigurationBuilder withDefaultPersonaStateFlags(java.util.EnumSet<EClientPersonaStateFlag> personaStateFlags)
SteamConfiguration with the default EClientPersonaStateFlags to request from Steam.personaStateFlags - The default persona state flags used when requesting information for a new friend, or when calling SteamFriends.RequestFriendInfo without specifying flags.ISteamConfigurationBuilder withDefaultPersonaStateFlags(EClientPersonaStateFlag personaStateFlags)
SteamConfiguration with the default EClientPersonaStateFlags to request from Steam.personaStateFlags - The default persona state flags used when requesting information for a new friend, or when calling SteamFriends.RequestFriendInfo without specifying flags.ISteamConfigurationBuilder withDirectoryFetch(boolean allowDirectoryFetch)
SteamConfiguration to discover available servers.allowDirectoryFetch - Whether or not to use the Steam Directory to discover available servers.ISteamConfigurationBuilder withProtocolTypes(java.util.EnumSet<ProtocolTypes> protocolTypes)
SteamConfiguration will be used to connect to Steam.protocolTypes - The supported protocol types to use when attempting to connect to Steam.ISteamConfigurationBuilder withProtocolTypes(ProtocolTypes protocolTypes)
SteamConfiguration will be used to connect to Steam.protocolTypes - The supported protocol types to use when attempting to connect to Steam.ISteamConfigurationBuilder withServerListProvider(IServerListProvider provider)
SteamConfiguration.provider - The server list provider to use..ISteamConfigurationBuilder withUniverse(EUniverse universe)
SteamConfiguration belongs to.universe - The Universe to connect to. This should always be EUniverse.Public unless you work at Valve and are using this internally. If this is you, hello there.ISteamConfigurationBuilder withWebAPIBaseAddress(java.lang.String baseAddress)
SteamConfiguration.baseAddress - The base address of the Steam Web API to connect to. Use of "partner.steam-api.com" requires a Partner API Key.ISteamConfigurationBuilder withWebAPIKey(java.lang.String webApiKey)
SteamConfiguration with a Web API key to attach to requests.webApiKey - An API key to be used for authorized requests. Keys can be obtained from Steam Web API Documentation or the Steamworks Partner site.