Rygel.MediaPlayer – librygel-renderer – Vala Binding Reference

Rygel.MediaPlayer – librygel-renderer Reference Manual

# MediaPlayer

## Object Hierarchy:

## Description:

public interface MediaPlayer : `Object`

Interface for mapping AVTransport:2 methods to the specific implementation.

This class is useful only when implementing Rygel plugins.

All known implementing classes:

- Player

Namespace: Rygel
Package: librygel-renderer

## Content:

### Properties:

- public abstract `string` playback_state { set; owned get; }
- public abstract `string`? uri { set; owned get; }
- public abstract `double` volume { set; get; }
- public abstract `int64` duration { get; }
- public abstract `string`? metadata { set; owned get; }
- public abstract `string`? mime_type { set; owned get; }
- public abstract `string`? content_features { set; owned get; }
- public `string` duration_as_str { owned get; }
- public abstract `int64` position { get; }
- public `string` position_as_str { owned get; }

### Methods:

- public abstract `bool` seek (`ClockTime` time)
- public abstract `string`[] get_protocols ()
- public abstract `string`[] get_mime_types ()

### Inherited Members:

All known members inherited from class GLib.Object

- new
- newv
- new_valist
- get_type
- get_class
- ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- get
- set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count