SessionInfoDto

@Serializable
data class SessionInfoDto(val playState: PlayerStateInfo? = null, val additionalUsers: List<SessionUserInfo>? = null, val capabilities: ClientCapabilitiesDto? = null, val remoteEndPoint: String? = null, val playableMediaTypes: List<MediaType>, val id: String? = null, val userId: UUID, val userName: String? = null, val client: String? = null, val lastActivityDate: DateTime, val lastPlaybackCheckIn: DateTime, val lastPausedDate: DateTime? = null, val deviceName: String? = null, val deviceType: String? = null, val nowPlayingItem: BaseItemDto? = null, val nowViewingItem: BaseItemDto? = null, val deviceId: String? = null, val applicationVersion: String? = null, val transcodingInfo: TranscodingInfo? = null, val isActive: Boolean, val supportsMediaControl: Boolean, val supportsRemoteControl: Boolean, val nowPlayingQueue: List<QueueItem>? = null, val nowPlayingQueueFullItems: List<BaseItemDto>? = null, val hasCustomDeviceName: Boolean, val playlistItemId: String? = null, val serverId: String? = null, val userPrimaryImageTag: String? = null, val supportedCommands: List<GeneralCommandType>)

Session info DTO.

Constructors

Link copied to clipboard
constructor(playState: PlayerStateInfo? = null, additionalUsers: List<SessionUserInfo>? = null, capabilities: ClientCapabilitiesDto? = null, remoteEndPoint: String? = null, playableMediaTypes: List<MediaType>, id: String? = null, userId: UUID, userName: String? = null, client: String? = null, lastActivityDate: DateTime, lastPlaybackCheckIn: DateTime, lastPausedDate: DateTime? = null, deviceName: String? = null, deviceType: String? = null, nowPlayingItem: BaseItemDto? = null, nowViewingItem: BaseItemDto? = null, deviceId: String? = null, applicationVersion: String? = null, transcodingInfo: TranscodingInfo? = null, isActive: Boolean, supportsMediaControl: Boolean, supportsRemoteControl: Boolean, nowPlayingQueue: List<QueueItem>? = null, nowPlayingQueueFullItems: List<BaseItemDto>? = null, hasCustomDeviceName: Boolean, playlistItemId: String? = null, serverId: String? = null, userPrimaryImageTag: String? = null, supportedCommands: List<GeneralCommandType>)

Properties

Link copied to clipboard
@SerialName(value = "AdditionalUsers")
val additionalUsers: List<SessionUserInfo>?

The additional users.

Link copied to clipboard
@SerialName(value = "ApplicationVersion")
val applicationVersion: String?

The application version.

Link copied to clipboard
@SerialName(value = "Capabilities")
val capabilities: ClientCapabilitiesDto?

The client capabilities.

Link copied to clipboard
@SerialName(value = "Client")
val client: String?

The type of the client.

Link copied to clipboard
@SerialName(value = "DeviceId")
val deviceId: String?

The device id.

Link copied to clipboard
@SerialName(value = "DeviceName")
val deviceName: String?

The name of the device.

Link copied to clipboard
@SerialName(value = "DeviceType")
val deviceType: String?

The type of the device.

Link copied to clipboard
@SerialName(value = "HasCustomDeviceName")
val hasCustomDeviceName: Boolean

A value indicating whether the session has a custom device name.

Link copied to clipboard
@SerialName(value = "Id")
val id: String?

The id.

Link copied to clipboard
@SerialName(value = "IsActive")
val isActive: Boolean

A value indicating whether this session is active.

Link copied to clipboard
@SerialName(value = "LastActivityDate")
val lastActivityDate: DateTime

The last activity date.

Link copied to clipboard
@SerialName(value = "LastPausedDate")
val lastPausedDate: DateTime?

The last paused date.

Link copied to clipboard
@SerialName(value = "LastPlaybackCheckIn")
val lastPlaybackCheckIn: DateTime

The last playback check in.

Link copied to clipboard
@SerialName(value = "NowPlayingItem")
val nowPlayingItem: BaseItemDto?

The now playing item.

Link copied to clipboard
@SerialName(value = "NowPlayingQueue")
val nowPlayingQueue: List<QueueItem>?

The now playing queue.

Link copied to clipboard
@SerialName(value = "NowPlayingQueueFullItems")
val nowPlayingQueueFullItems: List<BaseItemDto>?

The now playing queue full items.

Link copied to clipboard
@SerialName(value = "NowViewingItem")
val nowViewingItem: BaseItemDto?

The now viewing item.

Link copied to clipboard
@SerialName(value = "PlayableMediaTypes")
val playableMediaTypes: List<MediaType>

The playable media types.

Link copied to clipboard
@SerialName(value = "PlaylistItemId")
val playlistItemId: String?

The playlist item id.

Link copied to clipboard
@SerialName(value = "PlayState")
val playState: PlayerStateInfo?

The play state.

Link copied to clipboard
@SerialName(value = "RemoteEndPoint")
val remoteEndPoint: String?

The remote end point.

Link copied to clipboard
@SerialName(value = "ServerId")
val serverId: String?

The server id.

Link copied to clipboard
@SerialName(value = "SupportedCommands")
val supportedCommands: List<GeneralCommandType>

The supported commands.

Link copied to clipboard
@SerialName(value = "SupportsMediaControl")
val supportsMediaControl: Boolean

A value indicating whether the session supports media control.

Link copied to clipboard
@SerialName(value = "SupportsRemoteControl")
val supportsRemoteControl: Boolean

A value indicating whether the session supports remote control.

Link copied to clipboard
@SerialName(value = "TranscodingInfo")
val transcodingInfo: TranscodingInfo?

The transcoding info.

Link copied to clipboard
@SerialName(value = "UserId")
val userId: UUID

The user id.

Link copied to clipboard
@SerialName(value = "UserName")
val userName: String?

The username.

Link copied to clipboard
@SerialName(value = "UserPrimaryImageTag")
val userPrimaryImageTag: String?

The user primary image tag.