![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
Issues a full general command to a client. More...
#include <session.h>
Public Member Functions | |
| SendFullGeneralCommandLoader (ApiClient *apiClient=nullptr) | |
Public Member Functions inherited from Jellyfin::Support::HttpLoader< void, SendFullGeneralCommandParams > | |
| HttpLoader (Jellyfin::ApiClient *apiClient) | |
| virtual void | load () override |
| load Loads the given resource asynchronously. | |
| virtual void | cancel () override |
| bool | isAvailable () const override |
| Heuristic to determine if this resource can be loaded via this loaded. | |
Public Member Functions inherited from Jellyfin::Support::HttpLoaderBase< void, SendFullGeneralCommandParams > | |
| HttpLoaderBase (Jellyfin::ApiClient *apiClient) | |
| Loader< void, SendFullGeneralCommandParams >::ResultType | parseResponse (int, QByteArray response) |
Public Member Functions inherited from Jellyfin::Support::Loader< void, SendFullGeneralCommandParams > | |
| Loader (ApiClient *apiClient) | |
| void | result () const |
| Retrieves the loaded resource. Only valid after the ready signal has been emitted. | |
| bool | hasResult () const |
| void | setParameters (const SendFullGeneralCommandParams ¶meters) |
| Sets the parameters for this loader. | |
Public Member Functions inherited from Jellyfin::Support::LoaderBase | |
| bool | isRunning () const |
| void | setApiClient (ApiClient *newApiClient) |
| ApiClient * | apiClient () const |
Protected Member Functions | |
| QString | path (const SendFullGeneralCommandParams ¶meters) const override |
| QUrlQuery | query (const SendFullGeneralCommandParams ¶meters) const override |
| QByteArray | body (const SendFullGeneralCommandParams ¶meters) const override |
| QNetworkAccessManager::Operation | operation () const override |
Protected Member Functions inherited from Jellyfin::Support::HttpLoader< void, SendFullGeneralCommandParams > | |
| virtual QString | path (const SendFullGeneralCommandParams ¶meters) const=0 |
| Subclasses should override this method to return the path to this endpoint, with all path parameters inserted. | |
| virtual QUrlQuery | query (const SendFullGeneralCommandParams ¶meters) const=0 |
| virtual QByteArray | body (const SendFullGeneralCommandParams ¶meters) const=0 |
Protected Member Functions inherited from Jellyfin::Support::Loader< void, SendFullGeneralCommandParams > | |
| ResultType | createFailureResult () |
| ResultType | createSuccessResult (void &&result) |
Protected Member Functions inherited from Jellyfin::Support::LoaderBase | |
| LoaderBase (ApiClient *apiClient) | |
| void | stopWithError (QString message=QString()) |
Additional Inherited Members | |
Public Types inherited from Jellyfin::Support::Loader< void, SendFullGeneralCommandParams > | |
| using | ResultType |
Signals inherited from Jellyfin::Support::LoaderBase | |
| void | error (QString message=QString()) |
| Emitted when an error has occurred during loading and no result is available. | |
| void | ready () |
| Emitted when data was successfully loaded. | |
Static Protected Member Functions inherited from Jellyfin::Support::Loader< void, SendFullGeneralCommandParams > | |
| static void | createDummyResponse () |
Protected Attributes inherited from Jellyfin::Support::Loader< void, SendFullGeneralCommandParams > | |
| std::optional< SendFullGeneralCommandParams > | m_parameters |
| ResultType | m_result |
Protected Attributes inherited from Jellyfin::Support::LoaderBase | |
| Jellyfin::ApiClient * | m_apiClient |
| bool | m_isRunning = false |
Issues a full general command to a client.
|
explicit |
|
overrideprotected |
|
overrideprotectedvirtual |
|
overrideprotected |
|
overrideprotected |