| GData Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gdata/services/youtube/gdata-youtube.h>
GDataYouTubeState;
GDataYouTubeState * gdata_youtube_state_new (const gchar *name,
const gchar *message,
const gchar *reason_code,
const gchar *help_uri);
void gdata_youtube_state_free (GDataYouTubeState *self);
The structures here represent several core elements in the YouTube specification which are used exclusively in the YouTube API.
typedef struct {
gchar *name;
gchar *reason_code;
gchar *help_uri;
gchar *message;
} GDataYouTubeState;
A structure fully representing a YouTube "state" element. All fields are required.
See the YouTube specification for more information.
GDataYouTubeState * gdata_youtube_state_new (const gchar *name, const gchar *message, const gchar *reason_code, const gchar *help_uri);
Creates a new GDataYouTubeState. More information is available in the YouTube specification.
|
the publishing status of the video |
|
a human-readable message explaining the problem, or NULL
|
|
code providing information about why a video failed to upload or was rejected during processing |
|
a URI for a page explaining the problem, or NULL
|
Returns : |
a new GDataYouTubeState, or NULL; free with gdata_youtube_state_free()
|
void gdata_youtube_state_free (GDataYouTubeState *self);
Frees a GDataYouTubeState.
|
a GDataYouTubeState |