SessionInfoDto

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

The additional users.

Link copied to clipboard

The application version.

Link copied to clipboard

The client capabilities.

Link copied to clipboard
val client: String? = null

The type of the client.

Link copied to clipboard
val deviceId: String? = null

The device id.

Link copied to clipboard
val deviceName: String? = null

The name of the device.

Link copied to clipboard
val deviceType: String? = null

The type of the device.

Link copied to clipboard

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

Link copied to clipboard
val id: String? = null

The id.

Link copied to clipboard

A value indicating whether this session is active.

Link copied to clipboard

The last activity date.

Link copied to clipboard

The last paused date.

Link copied to clipboard

The last playback check in.

Link copied to clipboard

The now playing item.

Link copied to clipboard

The now playing queue.

Link copied to clipboard

The now playing queue full items.

Link copied to clipboard

The now viewing item.

Link copied to clipboard

The playable media types.

Link copied to clipboard
val playlistItemId: String? = null

The playlist item id.

Link copied to clipboard

The play state.

Link copied to clipboard
val remoteEndPoint: String? = null

The remote end point.

Link copied to clipboard
val serverId: String? = null

The server id.

Link copied to clipboard

The supported commands.

Link copied to clipboard

A value indicating whether the session supports media control.

Link copied to clipboard

A value indicating whether the session supports remote control.

Link copied to clipboard

The transcoding info.

Link copied to clipboard

The user id.

Link copied to clipboard
val userName: String? = null

The username.

Link copied to clipboard

The user primary image tag.