Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::LiveStreamResponse Class Reference

#include <livestreamresponse.h>

Public Member Functions

 LiveStreamResponse (QSharedPointer< MediaSourceInfo > mediaSource)
 
 LiveStreamResponse (const LiveStreamResponse &other)
 
void replaceData (LiveStreamResponse &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QSharedPointer< MediaSourceInfomediaSource () const
 
void setMediaSource (QSharedPointer< MediaSourceInfo > newMediaSource)
 

Static Public Member Functions

static LiveStreamResponse fromJson (QJsonObject source)
 

Protected Attributes

QSharedPointer< MediaSourceInfom_mediaSource = QSharedPointer<MediaSourceInfo>()
 

Constructor & Destructor Documentation

◆ LiveStreamResponse() [1/2]

Jellyfin::DTO::LiveStreamResponse::LiveStreamResponse ( QSharedPointer< MediaSourceInfo > mediaSource)

◆ LiveStreamResponse() [2/2]

Jellyfin::DTO::LiveStreamResponse::LiveStreamResponse ( const LiveStreamResponse & other)

Member Function Documentation

◆ fromJson()

LiveStreamResponse Jellyfin::DTO::LiveStreamResponse::fromJson ( QJsonObject source)
static

◆ mediaSource()

QSharedPointer< MediaSourceInfo > Jellyfin::DTO::LiveStreamResponse::mediaSource ( ) const

◆ replaceData()

void Jellyfin::DTO::LiveStreamResponse::replaceData ( LiveStreamResponse & other)

Replaces the data being hold by this class with that of the other.

◆ setFromJson()

void Jellyfin::DTO::LiveStreamResponse::setFromJson ( QJsonObject source)

◆ setMediaSource()

void Jellyfin::DTO::LiveStreamResponse::setMediaSource ( QSharedPointer< MediaSourceInfo > newMediaSource)

◆ toJson()

QJsonObject Jellyfin::DTO::LiveStreamResponse::toJson ( ) const

Member Data Documentation

◆ m_mediaSource

QSharedPointer<MediaSourceInfo> Jellyfin::DTO::LiveStreamResponse::m_mediaSource = QSharedPointer<MediaSourceInfo>()
protected

The documentation for this class was generated from the following files: