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; }
  The width of the image in pixels. A value of -1 means that the width is unknown and will not, or did not, appear in DIDL-Lite XML.
- public `int` height { set; get; }
  The height of the image in pixels. A value of -1 means that the height is unknown and will not, or did not, appear in DIDL-Lite XML.
- public `int` pixel_width { set; get; }
- public `int` pixel_height { set; get; }
- public `int` color_depth { set; get; }
  A value of -1 means that the color depth is unknown and will not, or did not, appear in DIDL-Lite XML.
- public `ArrayList`<Thumbnail> thumbnails { protected 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)

### Inherited Members:

All known members inherited from class Rygel.MediaItem

- size
- place_holder
- description
- create_stream_source
- is_live_stream

- streamable
- add_uri
- get_protocol_info
- add_resources

- date
- mime_type
- dlna_profile
- address_regex

All known members inherited from class Rygel.MediaObject

- parent_ref
- title
- get_writable
- get_writables

- compare_string_props
- compare_int_props
- id
- ref_id

- upnp_class
- modified
- uris
- parent

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

All known members inherited from interface Rygel.VisualItem

- width
- height

- pixel_width
- pixel_height

- color_depth
- thumbnails