Rygel.ImageItem – librygel-server – Vala Binding Reference

Rygel.ImageItem – librygel-server Reference Manual

# ImageItem

## Object Hierarchy:

## Description:

public class ImageItem : MediaItem, VisualItem

Represents an image item.

All known sub-classes:

- PhotoItem

Namespace: Rygel
Package: librygel-server

## Content:

### Constants:

- public const unowned `string` UPNP_CLASS

### Properties:

- public `int` width { set; get; }
- public `int` height { set; get; }
- public `int` pixel_width { set; get; }
- public `int` pixel_height { set; get; }
- public `int` color_depth { set; get; }
- public `ArrayList`<Thumbnail> thumbnails { set; get; }

### Creation methods:

- public ImageItem (`string` id, MediaContainer parent, `string` title, `string` upnp_class = UPNP_CLASS)

### Methods:

- public override `bool` streamable ()
- public override void add_uri (`string` uri)
- protected override `ProtocolInfo` get_protocol_info (`string`? uri, `string` protocol)