LocalServerDiscovery

actual class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

expect class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
actual class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

actual class LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Used to discover Jellyfin servers in the local network.

Use the discover function to retrieve a flow of servers until the timeout is exceeded or the maximum amount of servers has been retrieved.

Constructors

LocalServerDiscovery
Link copied to clipboard
actual fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
expect fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
actual fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)
actual fun LocalServerDiscovery(jellyfinOptions: JellyfinOptions)

Types

Companion
Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion

Functions

discover
Link copied to clipboard
actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
expect fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>

Discover servers on the local network

actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>
actual fun discover(timeout: Int = DISCOVERY_TIMEOUT, maxServers: Int = DISCOVERY_MAX_SERVERS): Flow<ServerDiscoveryInfo>