Session info DTO.

SessionInfoDto

interface SessionInfoDto {
    AdditionalUsers?: null | SessionUserInfo[];
    ApplicationVersion?: null | string;
    Capabilities?: ClientCapabilitiesDto;
    Client?: null | string;
    DeviceId?: null | string;
    DeviceName?: null | string;
    DeviceType?: null | string;
    HasCustomDeviceName?: boolean;
    Id?: null | string;
    IsActive?: boolean;
    LastActivityDate?: string;
    LastPausedDate?: null | string;
    LastPlaybackCheckIn?: string;
    NowPlayingItem?: BaseItemDto;
    NowPlayingQueue?: null | QueueItem[];
    NowPlayingQueueFullItems?: null | BaseItemDto[];
    NowViewingItem?: BaseItemDto;
    PlayableMediaTypes?: MediaType[];
    PlaylistItemId?: null | string;
    PlayState?: PlayerStateInfo;
    RemoteEndPoint?: null | string;
    ServerId?: null | string;
    SupportedCommands?: GeneralCommandType[];
    SupportsMediaControl?: boolean;
    SupportsRemoteControl?: boolean;
    TranscodingInfo?: TranscodingInfo;
    UserId?: string;
    UserName?: null | string;
    UserPrimaryImageTag?: null | string;
}

Properties

AdditionalUsers?: null | SessionUserInfo[]

Gets or sets the additional users.

SessionInfoDto

ApplicationVersion?: null | string

Gets or sets the application version.

SessionInfoDto

Capabilities?: ClientCapabilitiesDto

SessionInfoDto

Client?: null | string

Gets or sets the type of the client.

SessionInfoDto

DeviceId?: null | string

Gets or sets the device id.

SessionInfoDto

DeviceName?: null | string

Gets or sets the name of the device.

SessionInfoDto

DeviceType?: null | string

Gets or sets the type of the device.

SessionInfoDto

HasCustomDeviceName?: boolean

Gets or sets a value indicating whether the session has a custom device name.

SessionInfoDto

Id?: null | string

Gets or sets the id.

SessionInfoDto

IsActive?: boolean

Gets or sets a value indicating whether this session is active.

SessionInfoDto

LastActivityDate?: string

Gets or sets the last activity date.

SessionInfoDto

LastPausedDate?: null | string

Gets or sets the last paused date.

SessionInfoDto

LastPlaybackCheckIn?: string

Gets or sets the last playback check in.

SessionInfoDto

NowPlayingItem?: BaseItemDto

SessionInfoDto

NowPlayingQueue?: null | QueueItem[]

Gets or sets the now playing queue.

SessionInfoDto

NowPlayingQueueFullItems?: null | BaseItemDto[]

Gets or sets the now playing queue full items.

SessionInfoDto

NowViewingItem?: BaseItemDto

SessionInfoDto

PlayableMediaTypes?: MediaType[]

Gets or sets the playable media types.

SessionInfoDto

PlaylistItemId?: null | string

Gets or sets the playlist item id.

SessionInfoDto

PlayState?: PlayerStateInfo

SessionInfoDto

RemoteEndPoint?: null | string

Gets or sets the remote end point.

SessionInfoDto

ServerId?: null | string

Gets or sets the server id.

SessionInfoDto

SupportedCommands?: GeneralCommandType[]

Gets or sets the supported commands.

SessionInfoDto

SupportsMediaControl?: boolean

Gets or sets a value indicating whether the session supports media control.

SessionInfoDto

SupportsRemoteControl?: boolean

Gets or sets a value indicating whether the session supports remote control.

SessionInfoDto

TranscodingInfo?: TranscodingInfo

SessionInfoDto

UserId?: string

Gets or sets the user id.

SessionInfoDto

UserName?: null | string

Gets or sets the username.

SessionInfoDto

UserPrimaryImageTag?: null | string

Gets or sets the user primary image tag.

SessionInfoDto