retryStartSocket

open fun retryStartSocket(needRetry: Boolean, @NonNull context: Context): Boolean

Called when receiving a onSocketClosed callback.

Return

true if it is possible to start socket, false otherwise.

Parameters

needRetry

need retry start socket

context

application context