-
@Deprecated(message = Deprecated as of 3.1.6. Call SendBird.connect after taking accessToken) public class ConnectionManager
ConnectionManager
since 3.0.70
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ConnectionManager.AuthInfoRequestHandler
AuthInfoRequest handler
since 3.0.70
public interface
ConnectionManager.AuthInfoRequester
AuthInfoRequester
since 3.0.70
public interface
ConnectionManager.AuthenticateHandler
Authenticate handler
since 3.0.70
public abstract class
ConnectionManager.NetworkHandler
Network handler. To add or remove this handler refer to .addNetworkHandler and .removeNetworkHandler and .removeAllNetworkHandlers.
since 3.0.70
-
Field Summary
Fields Modifier and Type Field Description public final static ConnectionManager
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit
authenticate(ConnectionManager.AuthInfoRequestHandler authInfoRequestHandler, ConnectionManager.AuthenticateHandler handler)
Authenticate AuthInfoRequester.setAuthInfo or AuthInfoRequester.setAuthInfoWithHostInfo must be called before authentication timeout. final static Unit
addNetworkHandler(String identifier, ConnectionManager.NetworkHandler handler)
Adds a network handler. final static Unit
removeNetworkHandler(String identifier)
Removes a network handler. final static Unit
removeAllNetworkHandlers()
Removes all Network handlers added by addNetworkHandler. -
-
Method Detail
-
authenticate
@Deprecated(message = Deprecated as of 3.1.6. ) final static Unit authenticate(ConnectionManager.AuthInfoRequestHandler authInfoRequestHandler, ConnectionManager.AuthenticateHandler handler)
Authenticate AuthInfoRequester.setAuthInfo or AuthInfoRequester.setAuthInfoWithHostInfo must be called before authentication timeout. Refer to SendBird.Options.setAuthenticationTimeout.
since 3.0.70
- Parameters:
authInfoRequestHandler
- AuthInfoRequest handlerhandler
- Authenticate handler
-
addNetworkHandler
@Deprecated(message = Deprecated as of 3.1.6. Replaced by SendBird.addConnectionHandler) final static Unit addNetworkHandler(String identifier, ConnectionManager.NetworkHandler handler)
Adds a network handler. All added handlers will be notified when events occurs.
since 3.0.70
- Parameters:
identifier
- ID of handler to be added.handler
- Handler to be added.
-
removeNetworkHandler
@Deprecated(message = Deprecated as of 3.1.6. Replaced by SendBird.removeConnectionHandler) final static Unit removeNetworkHandler(String identifier)
Removes a network handler. The deleted handler no longer be notified.
since 3.0.70
- Parameters:
identifier
- ID of handler to be removed.
-
removeAllNetworkHandlers
@Deprecated(message = Deprecated as of 3.1.6. Replaced by SendBird.removeAllConnectionHandlers) final static Unit removeAllNetworkHandlers()
Removes all Network handlers added by addNetworkHandler.
since 3.0.70
-
-
-
-