toggle menu
Cloudike Android Libraries
3.2.4
androidJvm
switch theme
search in API
Core Library
/
com.cloudike.sdk.core.network.websocket
/
WebSocketManager
Web
Socket
Manager
interface
WebSocketManager
Members
Members & Extensions
Properties
event
Flow
Link copied to clipboard
abstract
val
eventFlow
:
StateFlow
<
List
<
WebSocketEvent
>
>
state
Flow
Link copied to clipboard
abstract
val
stateFlow
:
StateFlow
<
WebSocketState
>
Functions
connect
Link copied to clipboard
abstract
fun
connect
(
useSSL
:
Boolean
=
true
,
reconnectOnFailure
:
Boolean
=
true
,
eventsGroups
:
Set
<
WebSocketEvent.Group
>
=
setOf( WebSocketEvent.Group.PHOTOS, WebSocketEvent.Group.FAMILY, WebSocketEvent.Group.FILES, )
)
Establishes a websocket connection.
disconnect
Link copied to clipboard
abstract
fun
disconnect
(
)
is
Connected
Link copied to clipboard
fun
WebSocketManager
.
isConnected
(
)
:
Boolean