All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.jellyfin.sdk.api.sockets.SocketInstanceState.kt Maven / Gradle / Ivy

There is a newer version: 1.6.3
Show newest version
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