Wasabi ExpressPlay SDK for iOS
1.23.0
|
Wasabi MediaDownload API. More...
#include "WsbTypes.h"
Go to the source code of this file.
Data Structures | |
struct | WSB_MediaDownload_Constraints |
Media Download resource constrains not to be exceeded. More... | |
struct | WSB_MediaDownload_Status |
The Media Download status. More... | |
struct | WSB_MediaDownload_Content |
The download content parameters. More... | |
struct | WSB_MediaDownload_ContentStatus |
The download content status. More... | |
struct | WSB_MediaDownload_Listener |
The Media Download listener interface. More... | |
Macros | |
#define | WSB_MD_MAX_TRACKS 3 |
Typedefs | |
typedef struct WSB_MediaDownload | WSB_MediaDownload |
An opaque Media Download instance handle. More... | |
typedef struct WSB_MediaDownload_Content | WSB_MediaDownload_Content |
The download content parameters. More... | |
Enumerations | |
enum | WSB_MediaDownload_State { WSB_MDS_PAUSED = 1, WSB_MDS_RUNNING } |
The overall Media Download status. More... | |
enum | WSB_MediaDownload_SourceType { WSB_MDST_DASH = 1, WSB_MDST_SINGLE_FILE } |
The content source type. More... | |
enum | WSB_MediaDownload_ContentState { WSB_MDCS_PENDING = 1, WSB_MDCS_IN_PROGRESS = 2, WSB_MDCS_FAILING = 3, WSB_MDCS_CANCELED = 4, WSB_MDCS_COMPLETED = 5 } |
Content download states. More... | |
Functions | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_Get (WSB_MediaDownload **download) |
Obtain a Media Download singleton reference. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_Release (WSB_MediaDownload *download) |
Release a Media Download singleton reference. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_SetListener (WSB_MediaDownload *download, void *client_context, const WSB_MediaDownload_Listener *listener) |
Set the listener. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_RemoveListener (WSB_MediaDownload *download) |
Remove the listener, if any. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_Pause (WSB_MediaDownload *download) |
Pause the Media Download. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_Resume (WSB_MediaDownload *download) |
Resume the Media Download. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_SetConstraints (WSB_MediaDownload *download, const WSB_MediaDownload_Constraints *constraints) |
Assign the Media Download constraints. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_QueryStatus (WSB_MediaDownload *download, WSB_MediaDownload_Status **status) |
Query the Media Download status. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_ReleaseStatus (WSB_MediaDownload *download, WSB_MediaDownload_Status *status) |
Release a Media Download status object earlier obtained through WSB_MediaDownload_QueryStatus. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_AddContent (WSB_MediaDownload *download, const char *path, const WSB_MediaDownload_Content *content) |
Register a new content for download. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_CancelContent (WSB_MediaDownload *download, const char *path) |
Cancel the content from download. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_QueryContentStatus (WSB_MediaDownload *download, const char *path, WSB_MediaDownload_ContentStatus **content_status) |
Query the status of the content being downloaded. More... | |
WSB_EXPORT WSB_Result | WSB_MediaDownload_ReleaseContentStatus (WSB_MediaDownload *download, WSB_MediaDownload_ContentStatus *content_status) |
Release content status object earlier obtained through WSB_MediaDownload_QueryContentStatus. More... | |
Wasabi MediaDownload API.
#define WSB_MD_MAX_TRACKS 3 |
typedef struct WSB_MediaDownload WSB_MediaDownload |
An opaque Media Download instance handle.
typedef struct WSB_MediaDownload_Content WSB_MediaDownload_Content |
The download content parameters.
The overall Media Download status.