Jellyfin

class Jellyfin(val options: JellyfinOptions)

Constructors

Link copied to clipboard
constructor(options: JellyfinOptions)
constructor(optionsBuilder: JellyfinOptions.Builder)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clientInfo: ERROR CLASS: Symbol not found for ClientInfo??

Get the client information set when creating the Jellyfin instance or null if not set.

Link copied to clipboard
val deviceInfo: ERROR CLASS: Symbol not found for DeviceInfo??

Get the device information set when creating the Jellyfin instance or null if not set.

Link copied to clipboard

Get the discovery service to help with normalizing server addresses and find servers in the local network.

Link copied to clipboard

Functions

Link copied to clipboard
fun createApi(baseUrl: String? = null, accessToken: String? = null, clientInfo: ERROR CLASS: Symbol not found for ClientInfo?? = options.clientInfo, deviceInfo: ERROR CLASS: Symbol not found for DeviceInfo?? = options.deviceInfo, httpClientOptions: ERROR CLASS: Symbol not found for HttpClientOptions = HttpClientOptions()): ERROR CLASS: Symbol not found for ApiClient

Create a new API instance to use in API services. The clientInfo and deviceInfo parameters are required when not passed as option in JellyfinOptions. The baseUrl is only required when HTTP calls are made.