GDataYouTubeState

GDataYouTubeState — YouTube state element

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <gdata/services/youtube/gdata-youtube-state.h>

                    GDataYouTubeState;
                    GDataYouTubeStateClass;
const gchar *       gdata_youtube_state_get_name        (GDataYouTubeState *self);
const gchar *       gdata_youtube_state_get_reason_code (GDataYouTubeState *self);
const gchar *       gdata_youtube_state_get_help_uri    (GDataYouTubeState *self);
const gchar *       gdata_youtube_state_get_message     (GDataYouTubeState *self);

Object Hierarchy

  GObject
   +----GDataParsable
         +----GDataYouTubeState

Properties

  "help-uri"                 gchar*                : Read
  "message"                  gchar*                : Read
  "name"                     gchar*                : Read
  "reason-code"              gchar*                : Read

Description

GDataYouTubeState represents a "state" element from the YouTube namespace.

Details

GDataYouTubeState

typedef struct _GDataYouTubeState GDataYouTubeState;

All the fields in the GDataYouTubeState structure are private and should never be accessed directly.


GDataYouTubeStateClass

typedef struct {
} GDataYouTubeStateClass;

All the fields in the GDataYouTubeStateClass structure are private and should never be accessed directly.

Since 0.4.0


gdata_youtube_state_get_name ()

const gchar *       gdata_youtube_state_get_name        (GDataYouTubeState *self);

Gets the "name" property.

self :

a GDataYouTubeState

Returns :

the status name

Since 0.4.0


gdata_youtube_state_get_reason_code ()

const gchar *       gdata_youtube_state_get_reason_code (GDataYouTubeState *self);

Gets the "reason-code" property.

self :

a GDataYouTubeState

Returns :

the status reason code, or NULL

Since 0.4.0


gdata_youtube_state_get_help_uri ()

const gchar *       gdata_youtube_state_get_help_uri    (GDataYouTubeState *self);

Gets the "help-uri" property.

self :

a GDataYouTubeState

Returns :

the help URI, or NULL

Since 0.4.0


gdata_youtube_state_get_message ()

const gchar *       gdata_youtube_state_get_message     (GDataYouTubeState *self);

Gets the "message" property.

self :

a GDataYouTubeState

Returns :

the status message, or NULL

Since 0.4.0

Property Details

The "help-uri" property

  "help-uri"                 gchar*                : Read

A URI for a YouTube Help Center page that may help the developer or the video owner to diagnose the reason that an upload failed or was rejected.

For more information, see the online documentation.

Default value: NULL

Since 0.4.0


The "message" property

  "message"                  gchar*                : Read

A human-readable description of why the video failed to upload.

For more information, see the online documentation.

Default value: NULL

Since 0.4.0


The "name" property

  "name"                     gchar*                : Read

The name of the status of the unpublished video. Valid values are: "processing", "restricted", "deleted", "rejected" and "failed".

For more information, see the online documentation.

Default value: NULL

Since 0.4.0


The "reason-code" property

  "reason-code"              gchar*                : Read

The reason code explaining why the video failed to upload.

For more information, see the online documentation.

Default value: NULL

Since 0.4.0