Rygel.VisualItem – librygel-server – Vala Binding Reference

Rygel.VisualItem – librygel-server Reference Manual

# VisualItem

## Object Hierarchy:

## Description:

public interface VisualItem : MediaFileItem

An interface representing visual properties of an item stored in a file.

All known implementing classes:

- ImageItem

- VideoItem

Namespace: Rygel
Package: librygel-server

## Content:

### Properties:

- public abstract int width { set; get; }
  The width of the source content (this.uri) in pixels. A value of -1 means that the width is unknown
- public abstract int height { set; get; }
  The height of the source content (this.uri) in pixels. A value of -1 means that the height is unknown
- public abstract int color_depth { set; get; }
  The number of bits per pixel in the video or image resource (this.uri). A value of -1 means that the color depth is unknown
- public abstract ArrayList<Thumbnail> thumbnails { protected set; get; }
  Thumbnail pictures to represent the video or image resource.

### Inherited Members:

All known members inherited from class Rygel.MediaFileItem

- mime_type
- dlna_profile
- size
- place_holder

- ocm_flags
- create_stream_source_for_resource
- get_primary_resource
- get_extension

- ext_from_mime_type
- address_regex
- mime_to_ext

All known members inherited from class Rygel.MediaItem

- description

- get_protocol_info

All known members inherited from class Rygel.MediaObject

- id
- ref_id
- upnp_class
- date
- creator
- modified
- object_update_id
- artist
- genre
- parent

- parent_ref
- title
- ocm_flags
- apply_replacements
- get_uris
- get_primary_uri
- add_uri
- constructed
- get_writable

- get_writables
- get_resource_list
- get_resource_by_name
- serialize
- serialize_resource_list
- create_stream_source_for_resource
- compare_string_props
- compare_int_props
- parent_ptr

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