DIDLLiteResource
Object Hierarchy:
Description:
[ CCode ( type_id = "gupnp_didl_lite_resource_get_type ()" ) ]
public class DIDLLiteResource : Object
public class DIDLLiteResource : Object
Namespace: GUPnP
Package: gupnp-av-1.0
Content:
Properties:
- public int audio_channels { get; set; }
The number of audio channels in this resource.
- public int bitrate { get; set; }
The bitrate of this resource.
- public int bits_per_sample { get; set; }
The sample size of this resource.
- public int64 cleartext_size { get; set; }
- public int color_depth { get; set; }
The color-depth of this image/video resource.
- public unowned Ns* dlna_namespace { owned get; construct; }
Pointer to the DLNA metadata namespace registered with the resource object.
- public long duration { get; set; }
The duration (in seconds) of this resource.
- public int height { get; set; }
The height of this image/video resource.
- public string import_uri { get; set; }
The Import URI associated with this resource.
- public string protection { get; set; }
The protection system used for this resource.
- public ProtocolInfo protocol_info { get; set; }
The protocol info associated with this resource.
- public unowned Ns* pv_namespace { owned get; construct; }
Pointer to the PV metadata namespace registered with the resource object.
- public int sample_freq { get; set; }
The sample frequency of this resource.
- public long size { get; set; }
The size (in bytes) of this resource.
- public int64 size64 { get; set; }
The size (in bytes) of this resource.
- public string subtitle_file_type { get; set; }
Type of external subtitle file.
- public string subtitle_file_uri { get; set; }
Uri to external subtitle file.
- public uint track_total { get; set; }
Number of tracks in a DIDL_S or DIDL_V resource.
- public uint update_count { get; set; }
- public string uri { get; set; }
The URI associated with this resource.
- public int width { get; set; }
The width of this image/video resource.
- public unowned Node* xml_node { get; construct; }
The pointer to res node in XML document.
Creation methods:
- protected DIDLLiteResource ()
Methods:
- public int get_audio_channels ()
Get the number of audio channels in the this .
- public int get_bitrate ()
Get the bitrate (in bytes per second) of the this .
- public int get_bits_per_sample ()
Get the sample size of the this.
- public int64 get_cleartext_size ()
Get the size (in bytes) of the this.
- public int get_color_depth ()
Get the color-depth of this image/video resource.
- public unowned Ns* get_dlna_namespace ()
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
- public long get_duration ()
Get the duration (in seconds) of the this.
- public int get_height ()
Get the height of this image/video resource.
- public unowned string get_import_uri ()
Get the import URI associated with the this .
- public unowned string get_protection ()
Get the protection system used by the this .
- public unowned ProtocolInfo? get_protocol_info ()
Get the protocol info associated with the this .
- public unowned Ns* get_pv_namespace ()
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
- public int get_sample_freq ()
Get the sample frequency of the this.
- public long get_size ()
Get the size (in bytes) of the this.
- public int64 get_size64 ()
Get the size (in bytes) of the this.
- public unowned string get_subtitle_file_type ()
- public unowned string get_subtitle_file_uri ()
- public uint get_track_total ()
Get the total track count of this resource.
- public uint get_update_count ()
Get the update count of this resource.
- public unowned string? get_uri ()
Get the URI associated with the this.
- public int get_width ()
Get the width of this image/video resource.
- public unowned Node get_xml_node ()
Get the pointer to res node in XML document.
- public void set_audio_channels (int n_channels)
Set the number of audio channels in the this .
- public void set_bitrate (int bitrate)
Set the bitrate (in bytes per second) of the this .
- public void set_bits_per_sample (int sample_size)
Set the sample size of the this.
- public void set_cleartext_size (int64 cleartext_size)
Set the size (in bytes) of the this.
- public void set_color_depth (int color_depth)
Set the color-depth of this image/video resource.
- public void set_duration (long duration)
Set the duration (in seconds) of the this.
- public void set_height (int height)
Set the height of this image/video resource.
- public void set_import_uri (string import_uri)
Set the import URI associated with the this .
- public void set_protection (string protection)
Set the protection system used by the this .
- public void set_protocol_info (ProtocolInfo info)
Set the protocol info associated with the this .
- public void set_sample_freq (int sample_freq)
Set the sample frequency of the this.
- public void set_size (long size)
Set the size (in bytes) of the this.
- public void set_size64 (int64 size)
Set the size (in bytes) of the this.
- public void set_subtitle_file_type (string? type)
Set the type of an external subtitle file, specified via pv:subtitleFileUri using set_subtitle_file_uri.
- public void set_subtitle_file_uri (string? uri)
Set the URI of an external subtitle file to be used with this resource.
- public void set_track_total (uint track_total)
Set the total number of tracks in this resource.
- public void set_update_count (uint update_count)
Set the update count of this resource.
- public void set_uri (string uri)
Set the URI associated with the this.
- public void set_width (int width)
Set the width of this image/video resource.
- public bool track_total_is_set ()
Check whether the total track count property of this resource is set.
- public void unset_track_total ()
Unset the total track count of this resource.
- public void unset_update_count ()
Unset the update count of this resource.
- public bool update_count_is_set ()
Check whether the update count property of this resource is set.
Inherited Members:
All known members inherited from class GLib.Object