WebKitDOMMediaController

WebKitDOMMediaController

Synopsis

                    WebKitDOMMediaController;
void                webkit_dom_media_controller_play    (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_pause   (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_unpause (WebKitDOMMediaController *self);
WebKitDOMTimeRanges * webkit_dom_media_controller_get_buffered
                                                        (WebKitDOMMediaController *self);
WebKitDOMTimeRanges * webkit_dom_media_controller_get_seekable
                                                        (WebKitDOMMediaController *self);
gdouble             webkit_dom_media_controller_get_duration
                                                        (WebKitDOMMediaController *self);
gdouble             webkit_dom_media_controller_get_current_time
                                                        (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_set_current_time
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);
gboolean            webkit_dom_media_controller_get_paused
                                                        (WebKitDOMMediaController *self);
WebKitDOMTimeRanges * webkit_dom_media_controller_get_played
                                                        (WebKitDOMMediaController *self);
gchar *             webkit_dom_media_controller_get_playback_state
                                                        (WebKitDOMMediaController *self);
gdouble             webkit_dom_media_controller_get_default_playback_rate
                                                        (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_set_default_playback_rate
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);
gdouble             webkit_dom_media_controller_get_playback_rate
                                                        (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_set_playback_rate
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);
gdouble             webkit_dom_media_controller_get_volume
                                                        (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_set_volume
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value,
                                                         GError **error);
gboolean            webkit_dom_media_controller_get_muted
                                                        (WebKitDOMMediaController *self);
void                webkit_dom_media_controller_set_muted
                                                        (WebKitDOMMediaController *self,
                                                         gboolean value);

Object Hierarchy

  GObject
   +----WebKitDOMObject
         +----WebKitDOMMediaController

Implemented Interfaces

WebKitDOMMediaController implements WebKitDOMEventTarget.

Properties

  "buffered"                 WebKitDOMTimeRanges*  : Read
  "current-time"             gdouble               : Read / Write
  "default-playback-rate"    gdouble               : Read / Write
  "duration"                 gdouble               : Read
  "muted"                    gboolean              : Read / Write
  "paused"                   gboolean              : Read
  "playback-rate"            gdouble               : Read / Write
  "playback-state"           gchar*                : Read
  "played"                   WebKitDOMTimeRanges*  : Read
  "seekable"                 WebKitDOMTimeRanges*  : Read
  "volume"                   gdouble               : Read / Write

Description

Details

WebKitDOMMediaController

typedef struct _WebKitDOMMediaController WebKitDOMMediaController;


webkit_dom_media_controller_play ()

void                webkit_dom_media_controller_play    (WebKitDOMMediaController *self);

webkit_dom_media_controller_pause ()

void                webkit_dom_media_controller_pause   (WebKitDOMMediaController *self);

webkit_dom_media_controller_unpause ()

void                webkit_dom_media_controller_unpause (WebKitDOMMediaController *self);

webkit_dom_media_controller_get_buffered ()

WebKitDOMTimeRanges * webkit_dom_media_controller_get_buffered
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A WebKitDOMTimeRanges. [transfer none]

webkit_dom_media_controller_get_seekable ()

WebKitDOMTimeRanges * webkit_dom_media_controller_get_seekable
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A WebKitDOMTimeRanges. [transfer none]

webkit_dom_media_controller_get_duration ()

gdouble             webkit_dom_media_controller_get_duration
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gdouble

webkit_dom_media_controller_get_current_time ()

gdouble             webkit_dom_media_controller_get_current_time
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gdouble

webkit_dom_media_controller_set_current_time ()

void                webkit_dom_media_controller_set_current_time
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);

self :

A WebKitDOMMediaController

value :

A gdouble

webkit_dom_media_controller_get_paused ()

gboolean            webkit_dom_media_controller_get_paused
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gboolean

webkit_dom_media_controller_get_played ()

WebKitDOMTimeRanges * webkit_dom_media_controller_get_played
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A WebKitDOMTimeRanges. [transfer none]

webkit_dom_media_controller_get_playback_state ()

gchar *             webkit_dom_media_controller_get_playback_state
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gchar

webkit_dom_media_controller_get_default_playback_rate ()

gdouble             webkit_dom_media_controller_get_default_playback_rate
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gdouble

webkit_dom_media_controller_set_default_playback_rate ()

void                webkit_dom_media_controller_set_default_playback_rate
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);

self :

A WebKitDOMMediaController

value :

A gdouble

webkit_dom_media_controller_get_playback_rate ()

gdouble             webkit_dom_media_controller_get_playback_rate
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gdouble

webkit_dom_media_controller_set_playback_rate ()

void                webkit_dom_media_controller_set_playback_rate
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value);

self :

A WebKitDOMMediaController

value :

A gdouble

webkit_dom_media_controller_get_volume ()

gdouble             webkit_dom_media_controller_get_volume
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gdouble

webkit_dom_media_controller_set_volume ()

void                webkit_dom_media_controller_set_volume
                                                        (WebKitDOMMediaController *self,
                                                         gdouble value,
                                                         GError **error);

self :

A WebKitDOMMediaController

value :

A gdouble

error :

GError

webkit_dom_media_controller_get_muted ()

gboolean            webkit_dom_media_controller_get_muted
                                                        (WebKitDOMMediaController *self);

self :

A WebKitDOMMediaController

Returns :

A gboolean

webkit_dom_media_controller_set_muted ()

void                webkit_dom_media_controller_set_muted
                                                        (WebKitDOMMediaController *self,
                                                         gboolean value);

self :

A WebKitDOMMediaController

value :

A gboolean

Property Details

The "buffered" property

  "buffered"                 WebKitDOMTimeRanges*  : Read

read-only WebKitDOMTimeRanges* MediaController:buffered.


The "current-time" property

  "current-time"             gdouble               : Read / Write

read-only gdouble MediaController:current-time.

Default value: 0


The "default-playback-rate" property

  "default-playback-rate"    gdouble               : Read / Write

read-only gdouble MediaController:default-playback-rate.

Default value: 0


The "duration" property

  "duration"                 gdouble               : Read

read-only gdouble MediaController:duration.

Default value: 0


The "muted" property

  "muted"                    gboolean              : Read / Write

read-only gboolean MediaController:muted.

Default value: FALSE


The "paused" property

  "paused"                   gboolean              : Read

read-only gboolean MediaController:paused.

Default value: FALSE


The "playback-rate" property

  "playback-rate"            gdouble               : Read / Write

read-only gdouble MediaController:playback-rate.

Default value: 0


The "playback-state" property

  "playback-state"           gchar*                : Read

read-only gchar* MediaController:playback-state.

Default value: ""


The "played" property

  "played"                   WebKitDOMTimeRanges*  : Read

read-only WebKitDOMTimeRanges* MediaController:played.


The "seekable" property

  "seekable"                 WebKitDOMTimeRanges*  : Read

read-only WebKitDOMTimeRanges* MediaController:seekable.


The "volume" property

  "volume"                   gdouble               : Read / Write

read-only gdouble MediaController:volume.

Default value: 0