Package com.amazonaws.ivs.broadcast
Class BroadcastConfiguration.AutoReconnect
java.lang.Object
com.amazonaws.ivs.broadcast.BroadcastConfiguration.AutoReconnect
- Enclosing class:
- BroadcastConfiguration
An object that can configure SDK auto-reconnect functionality.
When
enabled
is `true` the retry logic will be active after a call to `start`
and before a call to `stop`. Calling `stop` will automatically cancel
any pending retries, regardless of the retry state. To receive updates about the
retry state, observe BroadcastSession.Listener.onRetryStateChanged(BroadcastSession.RetryState)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) Enables or disables auto-reconnect functionality .
-
Method Details
-
getEnabled
public boolean getEnabled()- Returns:
- If auto-reconnect is enabled. This defaults to `false`.
-
setEnabled
public void setEnabled(boolean enabled) Enables or disables auto-reconnect functionality .- Parameters:
enabled
- If auto-reconnect should be enabled or not.
-