Class CoordinatorSocket
-
- All Implemented Interfaces:
public final class CoordinatorSocket extends PersistentSocket<ConnectedEvent>
The Coordinator sockets send a user authentication request
-
-
Field Summary
Fields Modifier and Type Field Description private LongreconnectTimeoutprivate final MutableSharedFlow<VideoEvent>eventsprivate final MutableSharedFlow<Throwable>errorsprivate final MutableStateFlow<SocketState>_connectionStateprivate final StateFlow<SocketState>connectionStateprivate StringconnectionIdprivate Continuation<ConnectedEvent>connected
-
Constructor Summary
Constructors Constructor Description CoordinatorSocket(String url, User user, String token, CoroutineScope scope, OkHttpClient httpClient, NetworkStateProvider networkStateProvider)
-
Method Summary
Modifier and Type Method Description Unitauthenticate()-
Methods inherited from class io.getstream.video.android.core.socket.PersistentSocket
cleanup, connect, createSocket, disconnect, getConnected, getConnectionId, getConnectionState, getErrors, getEvents, getReconnectTimeout, get_connectionState, onClosed, onClosing, onFailure, onInternetConnected, onInternetDisconnected, onMessage, onMessage, onOpen, reconnect, setConnected, setConnectionId, setReconnectTimeout -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CoordinatorSocket
CoordinatorSocket(String url, User user, String token, CoroutineScope scope, OkHttpClient httpClient, NetworkStateProvider networkStateProvider)
-
-
Method Detail
-
authenticate
Unit authenticate()
-
-
-
-