Rygel.VisualItem – librygel-server – Vala Binding Reference

Rygel.VisualItem – librygel-server Reference Manual

# VisualItem

## Object Hierarchy:

## Description:

public interface VisualItem : MediaItem

An interface that visual (video and image) items must implement.

All known implementing classes:

- ImageItem

- VideoItem

Namespace: Rygel
Package: librygel-server

## Content:

### Properties:

- public abstract `int` width { set; get; }
  The width of the item in pixels. A value of -1 means that the width is unknown and will not, or did not, appear in DIDL-Lite XML.
- public abstract `int` height { set; get; }
  The height of the item in pixels. A value of -1 means that the height is unknown and will not, or did not, appear in DIDL-Lite XML.
- public abstract `int` color_depth { set; get; }
  The number of bits per pixel used to represent the video or image resource. A value of -1 means that the color depth is unknown and will not, or did not, appear in DIDL-Lite XML.
- public abstract `ArrayList`<Thumbnail> thumbnails { set; get; }
  Thumbnail pictures to represent the video or image resource.