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.

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 (`int64` time)
- public abstract `string`[] get_protocols ()
- public abstract `string`[] get_mime_types ()