
commonMain.org.jellyfin.sdk.api.sockets.SocketInstanceState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jellyfin-api Show documentation
Show all versions of jellyfin-api Show documentation
Official Kotlin/Java SDK for Jellyfin. org.jellyfin.sdk:jellyfin-api
package org.jellyfin.sdk.api.sockets
/**
* Possible states for a [SocketInstance].
*/
public enum class SocketInstanceState {
/**
* There is no connection.
*/
DISCONNECTED,
/**
* A connection is currently in progress.
*/
CONNECTING,
/**
* Successfully connected to the server.
*/
CONNECTED,
/**
* An error occurred and the connection is stopped. A new connection attempt may be made using the reconnect function.
*/
ERROR,
/**
* The instance is stopped and cannot be started again.
*/
STOPPED,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy