Initial submission of GUPnP-AV to Tizen IVI
[profile/ivi/GUPnP-AV.git] / doc / html / GUPnPDIDLLiteResource.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GUPnPDIDLLiteResource</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GUPnP A/V Reference Manual">
8 <link rel="up" href="ch01.html" title="GUPnP A/V">
9 <link rel="prev" href="GUPnPDIDLLiteWriter.html" title="GUPnPDIDLLiteWriter">
10 <link rel="next" href="GUPnPDIDLLiteDescriptor.html" title="GUPnPDIDLLiteDescriptor">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16 <tr valign="middle">
17 <td><a accesskey="p" href="GUPnPDIDLLiteWriter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GUPnP A/V Reference Manual</th>
21 <td><a accesskey="n" href="GUPnPDIDLLiteDescriptor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#GUPnPDIDLLiteResource.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#GUPnPDIDLLiteResource.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#GUPnPDIDLLiteResource.object-hierarchy" class="shortcut">Object Hierarchy</a>
29                    | 
30                   <a href="#GUPnPDIDLLiteResource.properties" class="shortcut">Properties</a>
31 </td></tr>
32 </table>
33 <div class="refentry">
34 <a name="GUPnPDIDLLiteResource"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
36 <td valign="top">
37 <h2><span class="refentrytitle"><a name="GUPnPDIDLLiteResource.top_of_page"></a>GUPnPDIDLLiteResource</span></h2>
38 <p>GUPnPDIDLLiteResource — DIDL-Lite Resource</p>
39 </td>
40 <td valign="top" align="right"></td>
41 </tr></table></div>
42 <div class="refsynopsisdiv">
43 <a name="GUPnPDIDLLiteResource.synopsis"></a><h2>Synopsis</h2>
44 <pre class="synopsis">                    <a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource-struct" title="GUPnPDIDLLiteResource">GUPnPDIDLLiteResource</a>;
45 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-uri" title="gupnp_didl_lite_resource_set_uri ()">gupnp_didl_lite_resource_set_uri</a>    (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
46                                                          <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
47 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-import-uri" title="gupnp_didl_lite_resource_set_import_uri ()">gupnp_didl_lite_resource_set_import_uri</a>
48                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
49                                                          <em class="parameter"><code>const <span class="type">char</span> *import_uri</code></em>);
50 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-protocol-info" title="gupnp_didl_lite_resource_set_protocol_info ()">gupnp_didl_lite_resource_set_protocol_info</a>
51                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
52                                                          <em class="parameter"><code><a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="type">GUPnPProtocolInfo</span></a> *info</code></em>);
53 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-size" title="gupnp_didl_lite_resource_set_size ()">gupnp_didl_lite_resource_set_size</a>   (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
54                                                          <em class="parameter"><code>long <span class="type">size</span> Param2</code></em>);
55 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-size64" title="gupnp_didl_lite_resource_set_size64 ()">gupnp_didl_lite_resource_set_size64</a> (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
56                                                          <em class="parameter"><code><span class="type">gint64</span> size</code></em>);
57 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-duration" title="gupnp_didl_lite_resource_set_duration ()">gupnp_didl_lite_resource_set_duration</a>
58                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
59                                                          <em class="parameter"><code>long <span class="type">duration</span> Param2</code></em>);
60 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-bitrate" title="gupnp_didl_lite_resource_set_bitrate ()">gupnp_didl_lite_resource_set_bitrate</a>
61                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
62                                                          <em class="parameter"><code><span class="type">int</span> bitrate</code></em>);
63 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-sample-freq" title="gupnp_didl_lite_resource_set_sample_freq ()">gupnp_didl_lite_resource_set_sample_freq</a>
64                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
65                                                          <em class="parameter"><code><span class="type">int</span> sample_freq</code></em>);
66 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-bits-per-sample" title="gupnp_didl_lite_resource_set_bits_per_sample ()">gupnp_didl_lite_resource_set_bits_per_sample</a>
67                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
68                                                          <em class="parameter"><code><span class="type">int</span> sample_size</code></em>);
69 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-protection" title="gupnp_didl_lite_resource_set_protection ()">gupnp_didl_lite_resource_set_protection</a>
70                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
71                                                          <em class="parameter"><code>const <span class="type">char</span> *protection</code></em>);
72 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-audio-channels" title="gupnp_didl_lite_resource_set_audio_channels ()">gupnp_didl_lite_resource_set_audio_channels</a>
73                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
74                                                          <em class="parameter"><code><span class="type">int</span> n_channels</code></em>);
75 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-width" title="gupnp_didl_lite_resource_set_width ()">gupnp_didl_lite_resource_set_width</a>  (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
76                                                          <em class="parameter"><code><span class="type">int</span> width</code></em>);
77 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-height" title="gupnp_didl_lite_resource_set_height ()">gupnp_didl_lite_resource_set_height</a> (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
78                                                          <em class="parameter"><code><span class="type">int</span> height</code></em>);
79 <span class="returnvalue">void</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-set-color-depth" title="gupnp_didl_lite_resource_set_color_depth ()">gupnp_didl_lite_resource_set_color_depth</a>
80                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
81                                                          <em class="parameter"><code><span class="type">int</span> color_depth</code></em>);
82 const <span class="returnvalue">char</span> *        <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-uri" title="gupnp_didl_lite_resource_get_uri ()">gupnp_didl_lite_resource_get_uri</a>    (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
83 const <span class="returnvalue">char</span> *        <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-import-uri" title="gupnp_didl_lite_resource_get_import_uri ()">gupnp_didl_lite_resource_get_import_uri</a>
84                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
85 <a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="returnvalue">GUPnPProtocolInfo</span></a> * <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-protocol-info" title="gupnp_didl_lite_resource_get_protocol_info ()">gupnp_didl_lite_resource_get_protocol_info</a>
86                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
87 <span class="returnvalue">long</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-size" title="gupnp_didl_lite_resource_get_size ()">gupnp_didl_lite_resource_get_size</a>   (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
88 <span class="returnvalue">gint64</span>              <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-size64" title="gupnp_didl_lite_resource_get_size64 ()">gupnp_didl_lite_resource_get_size64</a> (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
89 <span class="returnvalue">long</span>                <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-duration" title="gupnp_didl_lite_resource_get_duration ()">gupnp_didl_lite_resource_get_duration</a>
90                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
91 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-bitrate" title="gupnp_didl_lite_resource_get_bitrate ()">gupnp_didl_lite_resource_get_bitrate</a>
92                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
93 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-sample-freq" title="gupnp_didl_lite_resource_get_sample_freq ()">gupnp_didl_lite_resource_get_sample_freq</a>
94                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
95 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-bits-per-sample" title="gupnp_didl_lite_resource_get_bits_per_sample ()">gupnp_didl_lite_resource_get_bits_per_sample</a>
96                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
97 const <span class="returnvalue">char</span> *        <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-protection" title="gupnp_didl_lite_resource_get_protection ()">gupnp_didl_lite_resource_get_protection</a>
98                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
99 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-audio-channels" title="gupnp_didl_lite_resource_get_audio_channels ()">gupnp_didl_lite_resource_get_audio_channels</a>
100                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
101 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-width" title="gupnp_didl_lite_resource_get_width ()">gupnp_didl_lite_resource_get_width</a>  (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
102 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-height" title="gupnp_didl_lite_resource_get_height ()">gupnp_didl_lite_resource_get_height</a> (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
103 <span class="returnvalue">int</span>                 <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-color-depth" title="gupnp_didl_lite_resource_get_color_depth ()">gupnp_didl_lite_resource_get_color_depth</a>
104                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
105 <span class="returnvalue">xmlNode</span> *           <a class="link" href="GUPnPDIDLLiteResource.html#gupnp-didl-lite-resource-get-xml-node" title="gupnp_didl_lite_resource_get_xml_node ()">gupnp_didl_lite_resource_get_xml_node</a>
106                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);
107 </pre>
108 </div>
109 <div class="refsect1">
110 <a name="GUPnPDIDLLiteResource.object-hierarchy"></a><h2>Object Hierarchy</h2>
111 <pre class="synopsis">
112   <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
113    +----GUPnPDIDLLiteResource
114 </pre>
115 </div>
116 <div class="refsect1">
117 <a name="GUPnPDIDLLiteResource.properties"></a><h2>Properties</h2>
118 <pre class="synopsis">
119   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--audio-channels" title='The "audio-channels" property'>audio-channels</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
120   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--bitrate" title='The "bitrate" property'>bitrate</a>"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
121   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--bits-per-sample" title='The "bits-per-sample" property'>bits-per-sample</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
122   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--color-depth" title='The "color-depth" property'>color-depth</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
123   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--duration" title='The "duration" property'>duration</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a>                 : Read / Write
124   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--height" title='The "height" property'>height</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
125   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--import-uri" title='The "import-uri" property'>import-uri</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
126   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--protection" title='The "protection" property'>protection</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
127   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--protocol-info" title='The "protocol-info" property'>protocol-info</a>"            <a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="type">GUPnPProtocolInfo</span></a>*    : Read / Write
128   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--sample-freq" title='The "sample-freq" property'>sample-freq</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
129   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--size" title='The "size" property'>size</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a>                 : Read / Write
130   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--size64" title='The "size64" property'>size64</a>"                   <span class="type">gint64</span>                : Read / Write
131   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--uri" title='The "uri" property'>uri</a>"                      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
132   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--width" title='The "width" property'>width</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
133   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--xml-doc" title='The "xml-doc" property'>xml-doc</a>"                  <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>*          : Write / Construct Only
134   "<a class="link" href="GUPnPDIDLLiteResource.html#GUPnPDIDLLiteResource--xml-node" title='The "xml-node" property'>xml-node</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write / Construct Only
135 </pre>
136 </div>
137 <div class="refsect1">
138 <a name="GUPnPDIDLLiteResource.description"></a><h2>Description</h2>
139 <p>
140 <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> respresent a DIDL-Lite resource (res) element.
141 </p>
142 </div>
143 <div class="refsect1">
144 <a name="GUPnPDIDLLiteResource.details"></a><h2>Details</h2>
145 <div class="refsect2">
146 <a name="GUPnPDIDLLiteResource-struct"></a><h3>GUPnPDIDLLiteResource</h3>
147 <pre class="programlisting">typedef struct _GUPnPDIDLLiteResource GUPnPDIDLLiteResource;</pre>
148 </div>
149 <hr>
150 <div class="refsect2">
151 <a name="gupnp-didl-lite-resource-set-uri"></a><h3>gupnp_didl_lite_resource_set_uri ()</h3>
152 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_uri    (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
153                                                          <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
154 <p>
155 Set the URI associated with the <em class="parameter"><code>resource</code></em>.
156 </p>
157 <div class="variablelist"><table border="0">
158 <col align="left" valign="top">
159 <tbody>
160 <tr>
161 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
162 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
163 </td>
164 </tr>
165 <tr>
166 <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
167 <td>The URI as string</td>
168 </tr>
169 <tr>
170 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
171 <td>None.</td>
172 </tr>
173 </tbody>
174 </table></div>
175 </div>
176 <hr>
177 <div class="refsect2">
178 <a name="gupnp-didl-lite-resource-set-import-uri"></a><h3>gupnp_didl_lite_resource_set_import_uri ()</h3>
179 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_import_uri
180                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
181                                                          <em class="parameter"><code>const <span class="type">char</span> *import_uri</code></em>);</pre>
182 <p>
183 Set the import URI associated with the <em class="parameter"><code>resource</code></em>.
184 </p>
185 <div class="variablelist"><table border="0">
186 <col align="left" valign="top">
187 <tbody>
188 <tr>
189 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
190 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
191 </td>
192 </tr>
193 <tr>
194 <td><p><span class="term"><em class="parameter"><code>import_uri</code></em> :</span></p></td>
195 <td>The URI as string</td>
196 </tr>
197 <tr>
198 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
199 <td>None.</td>
200 </tr>
201 </tbody>
202 </table></div>
203 </div>
204 <hr>
205 <div class="refsect2">
206 <a name="gupnp-didl-lite-resource-set-protocol-info"></a><h3>gupnp_didl_lite_resource_set_protocol_info ()</h3>
207 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_protocol_info
208                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
209                                                          <em class="parameter"><code><a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="type">GUPnPProtocolInfo</span></a> *info</code></em>);</pre>
210 <p>
211 Set the protocol info associated with the <em class="parameter"><code>resource</code></em>.
212 </p>
213 <div class="variablelist"><table border="0">
214 <col align="left" valign="top">
215 <tbody>
216 <tr>
217 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
218 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
219 </td>
220 </tr>
221 <tr>
222 <td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
223 <td>The protocol string</td>
224 </tr>
225 <tr>
226 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
227 <td>None.</td>
228 </tr>
229 </tbody>
230 </table></div>
231 </div>
232 <hr>
233 <div class="refsect2">
234 <a name="gupnp-didl-lite-resource-set-size"></a><h3>gupnp_didl_lite_resource_set_size ()</h3>
235 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_size   (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
236                                                          <em class="parameter"><code>long <span class="type">size</span> Param2</code></em>);</pre>
237 <p>
238 Set the size (in bytes) of the <em class="parameter"><code>resource</code></em>. Passing a negative number will
239 unset this property.
240 </p>
241 <div class="variablelist"><table border="0">
242 <col align="left" valign="top">
243 <tbody>
244 <tr>
245 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
246 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
247 </td>
248 </tr>
249 <tr>
250 <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
251 <td>The size (in bytes)</td>
252 </tr>
253 <tr>
254 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
255 <td>None.</td>
256 </tr>
257 </tbody>
258 </table></div>
259 </div>
260 <hr>
261 <div class="refsect2">
262 <a name="gupnp-didl-lite-resource-set-size64"></a><h3>gupnp_didl_lite_resource_set_size64 ()</h3>
263 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_size64 (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
264                                                          <em class="parameter"><code><span class="type">gint64</span> size</code></em>);</pre>
265 <p>
266 Set the size (in bytes) of the <em class="parameter"><code>resource</code></em>. Passing a negative number will
267 unset this property.
268 </p>
269 <div class="variablelist"><table border="0">
270 <col align="left" valign="top">
271 <tbody>
272 <tr>
273 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
274 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
275 </td>
276 </tr>
277 <tr>
278 <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
279 <td>The size (in bytes)</td>
280 </tr>
281 <tr>
282 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
283 <td>None.</td>
284 </tr>
285 </tbody>
286 </table></div>
287 </div>
288 <hr>
289 <div class="refsect2">
290 <a name="gupnp-didl-lite-resource-set-duration"></a><h3>gupnp_didl_lite_resource_set_duration ()</h3>
291 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_duration
292                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
293                                                          <em class="parameter"><code>long <span class="type">duration</span> Param2</code></em>);</pre>
294 <p>
295 Set the duration (in seconds) of the <em class="parameter"><code>resource</code></em>. Passing a negative number
296 will unset this property.
297 </p>
298 <div class="variablelist"><table border="0">
299 <col align="left" valign="top">
300 <tbody>
301 <tr>
302 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
303 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
304 </td>
305 </tr>
306 <tr>
307 <td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
308 <td>The duration (in seconds)</td>
309 </tr>
310 <tr>
311 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
312 <td>None.</td>
313 </tr>
314 </tbody>
315 </table></div>
316 </div>
317 <hr>
318 <div class="refsect2">
319 <a name="gupnp-didl-lite-resource-set-bitrate"></a><h3>gupnp_didl_lite_resource_set_bitrate ()</h3>
320 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_bitrate
321                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
322                                                          <em class="parameter"><code><span class="type">int</span> bitrate</code></em>);</pre>
323 <p>
324 Set the bitrate (in bytes per second) of the <em class="parameter"><code>resource</code></em>. Passing a negative
325 number will unset this property.
326 </p>
327 <div class="variablelist"><table border="0">
328 <col align="left" valign="top">
329 <tbody>
330 <tr>
331 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
332 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
333 </td>
334 </tr>
335 <tr>
336 <td><p><span class="term"><em class="parameter"><code>bitrate</code></em> :</span></p></td>
337 <td>The bitrate</td>
338 </tr>
339 <tr>
340 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
341 <td>None.</td>
342 </tr>
343 </tbody>
344 </table></div>
345 </div>
346 <hr>
347 <div class="refsect2">
348 <a name="gupnp-didl-lite-resource-set-sample-freq"></a><h3>gupnp_didl_lite_resource_set_sample_freq ()</h3>
349 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_sample_freq
350                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
351                                                          <em class="parameter"><code><span class="type">int</span> sample_freq</code></em>);</pre>
352 <p>
353 Set the sample frequency of the <em class="parameter"><code>resource</code></em>. Passing a negative number will
354 unset this property.
355 </p>
356 <div class="variablelist"><table border="0">
357 <col align="left" valign="top">
358 <tbody>
359 <tr>
360 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
361 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
362 </td>
363 </tr>
364 <tr>
365 <td><p><span class="term"><em class="parameter"><code>sample_freq</code></em> :</span></p></td>
366 <td>The sample frequency</td>
367 </tr>
368 <tr>
369 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
370 <td>None.</td>
371 </tr>
372 </tbody>
373 </table></div>
374 </div>
375 <hr>
376 <div class="refsect2">
377 <a name="gupnp-didl-lite-resource-set-bits-per-sample"></a><h3>gupnp_didl_lite_resource_set_bits_per_sample ()</h3>
378 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_bits_per_sample
379                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
380                                                          <em class="parameter"><code><span class="type">int</span> sample_size</code></em>);</pre>
381 <p>
382 Set the sample size of the <em class="parameter"><code>resource</code></em>. Passing a negative number will unset
383 this property.
384 </p>
385 <div class="variablelist"><table border="0">
386 <col align="left" valign="top">
387 <tbody>
388 <tr>
389 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
390 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
391 </td>
392 </tr>
393 <tr>
394 <td><p><span class="term"><em class="parameter"><code>sample_size</code></em> :</span></p></td>
395 <td>The number of bits per sample</td>
396 </tr>
397 <tr>
398 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
399 <td>None.</td>
400 </tr>
401 </tbody>
402 </table></div>
403 </div>
404 <hr>
405 <div class="refsect2">
406 <a name="gupnp-didl-lite-resource-set-protection"></a><h3>gupnp_didl_lite_resource_set_protection ()</h3>
407 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_protection
408                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
409                                                          <em class="parameter"><code>const <span class="type">char</span> *protection</code></em>);</pre>
410 <p>
411 Set the protection system used by the <em class="parameter"><code>resource</code></em>. Passing a negative number
412 will unset this property.
413 </p>
414 <div class="variablelist"><table border="0">
415 <col align="left" valign="top">
416 <tbody>
417 <tr>
418 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
419 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
420 </td>
421 </tr>
422 <tr>
423 <td><p><span class="term"><em class="parameter"><code>protection</code></em> :</span></p></td>
424 <td>The protection system identifier as string</td>
425 </tr>
426 <tr>
427 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
428 <td>None.</td>
429 </tr>
430 </tbody>
431 </table></div>
432 </div>
433 <hr>
434 <div class="refsect2">
435 <a name="gupnp-didl-lite-resource-set-audio-channels"></a><h3>gupnp_didl_lite_resource_set_audio_channels ()</h3>
436 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_audio_channels
437                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
438                                                          <em class="parameter"><code><span class="type">int</span> n_channels</code></em>);</pre>
439 <p>
440 Set the number of audio channels in the <em class="parameter"><code>resource</code></em>. Passing a negative number
441 will unset this property.
442 </p>
443 <div class="variablelist"><table border="0">
444 <col align="left" valign="top">
445 <tbody>
446 <tr>
447 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
448 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
449 </td>
450 </tr>
451 <tr>
452 <td><p><span class="term"><em class="parameter"><code>n_channels</code></em> :</span></p></td>
453 <td>The number of channels</td>
454 </tr>
455 <tr>
456 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
457 <td>The number of audio channels in the <em class="parameter"><code>resource</code></em> or -1.</td>
458 </tr>
459 </tbody>
460 </table></div>
461 </div>
462 <hr>
463 <div class="refsect2">
464 <a name="gupnp-didl-lite-resource-set-width"></a><h3>gupnp_didl_lite_resource_set_width ()</h3>
465 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_width  (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
466                                                          <em class="parameter"><code><span class="type">int</span> width</code></em>);</pre>
467 <p>
468 Set the width of this image/video resource. Setting both width and height to
469 a negative number will unset the resolution property.
470 </p>
471 <div class="variablelist"><table border="0">
472 <col align="left" valign="top">
473 <tbody>
474 <tr>
475 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
476 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
477 </td>
478 </tr>
479 <tr>
480 <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
481 <td>The width</td>
482 </tr>
483 <tr>
484 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
485 <td>None.</td>
486 </tr>
487 </tbody>
488 </table></div>
489 </div>
490 <hr>
491 <div class="refsect2">
492 <a name="gupnp-didl-lite-resource-set-height"></a><h3>gupnp_didl_lite_resource_set_height ()</h3>
493 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_height (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
494                                                          <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
495 <p>
496 Set the height of this image/video resource. Setting both width and height to
497 a negative number will unset the resolution property.
498 </p>
499 <div class="variablelist"><table border="0">
500 <col align="left" valign="top">
501 <tbody>
502 <tr>
503 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
504 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
505 </td>
506 </tr>
507 <tr>
508 <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
509 <td>The height</td>
510 </tr>
511 <tr>
512 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
513 <td>None.</td>
514 </tr>
515 </tbody>
516 </table></div>
517 </div>
518 <hr>
519 <div class="refsect2">
520 <a name="gupnp-didl-lite-resource-set-color-depth"></a><h3>gupnp_didl_lite_resource_set_color_depth ()</h3>
521 <pre class="programlisting"><span class="returnvalue">void</span>                gupnp_didl_lite_resource_set_color_depth
522                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>,
523                                                          <em class="parameter"><code><span class="type">int</span> color_depth</code></em>);</pre>
524 <p>
525 Set the color-depth of this image/video resource. Passing a negative number
526 will unset this property.
527 </p>
528 <div class="variablelist"><table border="0">
529 <col align="left" valign="top">
530 <tbody>
531 <tr>
532 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
533 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
534 </td>
535 </tr>
536 <tr>
537 <td><p><span class="term"><em class="parameter"><code>color_depth</code></em> :</span></p></td>
538 <td>The color-depth</td>
539 </tr>
540 <tr>
541 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
542 <td>None.</td>
543 </tr>
544 </tbody>
545 </table></div>
546 </div>
547 <hr>
548 <div class="refsect2">
549 <a name="gupnp-didl-lite-resource-get-uri"></a><h3>gupnp_didl_lite_resource_get_uri ()</h3>
550 <pre class="programlisting">const <span class="returnvalue">char</span> *        gupnp_didl_lite_resource_get_uri    (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
551 <p>
552 Get the URI associated with the <em class="parameter"><code>resource</code></em>.
553 </p>
554 <div class="variablelist"><table border="0">
555 <col align="left" valign="top">
556 <tbody>
557 <tr>
558 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
559 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
560 </td>
561 </tr>
562 <tr>
563 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
564 <td>The of URI the <em class="parameter"><code>resource</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
565 </tr>
566 </tbody>
567 </table></div>
568 </div>
569 <hr>
570 <div class="refsect2">
571 <a name="gupnp-didl-lite-resource-get-import-uri"></a><h3>gupnp_didl_lite_resource_get_import_uri ()</h3>
572 <pre class="programlisting">const <span class="returnvalue">char</span> *        gupnp_didl_lite_resource_get_import_uri
573                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
574 <p>
575 Get the import URI associated with the <em class="parameter"><code>resource</code></em>.
576 </p>
577 <div class="variablelist"><table border="0">
578 <col align="left" valign="top">
579 <tbody>
580 <tr>
581 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
582 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
583 </td>
584 </tr>
585 <tr>
586 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
587 <td>The import URI or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
588 </tr>
589 </tbody>
590 </table></div>
591 </div>
592 <hr>
593 <div class="refsect2">
594 <a name="gupnp-didl-lite-resource-get-protocol-info"></a><h3>gupnp_didl_lite_resource_get_protocol_info ()</h3>
595 <pre class="programlisting"><a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="returnvalue">GUPnPProtocolInfo</span></a> * gupnp_didl_lite_resource_get_protocol_info
596                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
597 <p>
598 Get the protocol info associated with the <em class="parameter"><code>resource</code></em>.
599 </p>
600 <div class="variablelist"><table border="0">
601 <col align="left" valign="top">
602 <tbody>
603 <tr>
604 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
605 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
606 </td>
607 </tr>
608 <tr>
609 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
610 <td>The protocol info associated with the <em class="parameter"><code>resource</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The
611 returned object must not be unrefed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
612 </td>
613 </tr>
614 </tbody>
615 </table></div>
616 </div>
617 <hr>
618 <div class="refsect2">
619 <a name="gupnp-didl-lite-resource-get-size"></a><h3>gupnp_didl_lite_resource_get_size ()</h3>
620 <pre class="programlisting"><span class="returnvalue">long</span>                gupnp_didl_lite_resource_get_size   (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
621 <p>
622 Get the size (in bytes) of the <em class="parameter"><code>resource</code></em>.
623 </p>
624 <div class="variablelist"><table border="0">
625 <col align="left" valign="top">
626 <tbody>
627 <tr>
628 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
629 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
630 </td>
631 </tr>
632 <tr>
633 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
634 <td>The size (in bytes) of the <em class="parameter"><code>resource</code></em> or -1.</td>
635 </tr>
636 </tbody>
637 </table></div>
638 </div>
639 <hr>
640 <div class="refsect2">
641 <a name="gupnp-didl-lite-resource-get-size64"></a><h3>gupnp_didl_lite_resource_get_size64 ()</h3>
642 <pre class="programlisting"><span class="returnvalue">gint64</span>              gupnp_didl_lite_resource_get_size64 (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
643 <p>
644 Get the size (in bytes) of the <em class="parameter"><code>resource</code></em>.
645 </p>
646 <div class="variablelist"><table border="0">
647 <col align="left" valign="top">
648 <tbody>
649 <tr>
650 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
651 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
652 </td>
653 </tr>
654 <tr>
655 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
656 <td>The size (in bytes) of the <em class="parameter"><code>resource</code></em> or -1.</td>
657 </tr>
658 </tbody>
659 </table></div>
660 </div>
661 <hr>
662 <div class="refsect2">
663 <a name="gupnp-didl-lite-resource-get-duration"></a><h3>gupnp_didl_lite_resource_get_duration ()</h3>
664 <pre class="programlisting"><span class="returnvalue">long</span>                gupnp_didl_lite_resource_get_duration
665                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
666 <p>
667 Get the duration (in seconds) of the <em class="parameter"><code>resource</code></em>.
668 </p>
669 <div class="variablelist"><table border="0">
670 <col align="left" valign="top">
671 <tbody>
672 <tr>
673 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
674 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
675 </td>
676 </tr>
677 <tr>
678 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
679 <td>The duration (in seconds) of the <em class="parameter"><code>resource</code></em> or -1.</td>
680 </tr>
681 </tbody>
682 </table></div>
683 </div>
684 <hr>
685 <div class="refsect2">
686 <a name="gupnp-didl-lite-resource-get-bitrate"></a><h3>gupnp_didl_lite_resource_get_bitrate ()</h3>
687 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_bitrate
688                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
689 <p>
690 Get the bitrate (in bytes per second) of the <em class="parameter"><code>resource</code></em>.
691 </p>
692 <div class="variablelist"><table border="0">
693 <col align="left" valign="top">
694 <tbody>
695 <tr>
696 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
697 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
698 </td>
699 </tr>
700 <tr>
701 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
702 <td>The bitrate (in bytes per second) of the <em class="parameter"><code>resource</code></em> or -1.</td>
703 </tr>
704 </tbody>
705 </table></div>
706 </div>
707 <hr>
708 <div class="refsect2">
709 <a name="gupnp-didl-lite-resource-get-sample-freq"></a><h3>gupnp_didl_lite_resource_get_sample_freq ()</h3>
710 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_sample_freq
711                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
712 <p>
713 Get the sample frequency of the <em class="parameter"><code>resource</code></em>.
714 </p>
715 <div class="variablelist"><table border="0">
716 <col align="left" valign="top">
717 <tbody>
718 <tr>
719 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
720 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
721 </td>
722 </tr>
723 <tr>
724 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
725 <td>The sample frequency of the <em class="parameter"><code>resource</code></em> or -1.</td>
726 </tr>
727 </tbody>
728 </table></div>
729 </div>
730 <hr>
731 <div class="refsect2">
732 <a name="gupnp-didl-lite-resource-get-bits-per-sample"></a><h3>gupnp_didl_lite_resource_get_bits_per_sample ()</h3>
733 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_bits_per_sample
734                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
735 <p>
736 Get the sample size of the <em class="parameter"><code>resource</code></em>.
737 </p>
738 <div class="variablelist"><table border="0">
739 <col align="left" valign="top">
740 <tbody>
741 <tr>
742 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
743 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
744 </td>
745 </tr>
746 <tr>
747 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
748 <td>The number of bits per sample of the <em class="parameter"><code>resource</code></em> or -1.</td>
749 </tr>
750 </tbody>
751 </table></div>
752 </div>
753 <hr>
754 <div class="refsect2">
755 <a name="gupnp-didl-lite-resource-get-protection"></a><h3>gupnp_didl_lite_resource_get_protection ()</h3>
756 <pre class="programlisting">const <span class="returnvalue">char</span> *        gupnp_didl_lite_resource_get_protection
757                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
758 <p>
759 Get the protection system used by the <em class="parameter"><code>resource</code></em>.
760 </p>
761 <div class="variablelist"><table border="0">
762 <col align="left" valign="top">
763 <tbody>
764 <tr>
765 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
766 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
767 </td>
768 </tr>
769 <tr>
770 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
771 <td>The protection system in use by the <em class="parameter"><code>resource</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
772 </tr>
773 </tbody>
774 </table></div>
775 </div>
776 <hr>
777 <div class="refsect2">
778 <a name="gupnp-didl-lite-resource-get-audio-channels"></a><h3>gupnp_didl_lite_resource_get_audio_channels ()</h3>
779 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_audio_channels
780                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
781 <p>
782 Get the number of audio channels in the <em class="parameter"><code>resource</code></em>.
783 </p>
784 <div class="variablelist"><table border="0">
785 <col align="left" valign="top">
786 <tbody>
787 <tr>
788 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
789 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
790 </td>
791 </tr>
792 <tr>
793 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
794 <td>The number of audio channels in the <em class="parameter"><code>resource</code></em> or -1.</td>
795 </tr>
796 </tbody>
797 </table></div>
798 </div>
799 <hr>
800 <div class="refsect2">
801 <a name="gupnp-didl-lite-resource-get-width"></a><h3>gupnp_didl_lite_resource_get_width ()</h3>
802 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_width  (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
803 <p>
804 Get the width of this image/video resource.
805 </p>
806 <div class="variablelist"><table border="0">
807 <col align="left" valign="top">
808 <tbody>
809 <tr>
810 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
811 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
812 </td>
813 </tr>
814 <tr>
815 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816 <td>The width of this image/video resource or -1.</td>
817 </tr>
818 </tbody>
819 </table></div>
820 </div>
821 <hr>
822 <div class="refsect2">
823 <a name="gupnp-didl-lite-resource-get-height"></a><h3>gupnp_didl_lite_resource_get_height ()</h3>
824 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_height (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
825 <p>
826 Get the height of this image/video resource.
827 </p>
828 <div class="variablelist"><table border="0">
829 <col align="left" valign="top">
830 <tbody>
831 <tr>
832 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
833 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
834 </td>
835 </tr>
836 <tr>
837 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
838 <td>The height of the <em class="parameter"><code>resource</code></em> or -1.</td>
839 </tr>
840 </tbody>
841 </table></div>
842 </div>
843 <hr>
844 <div class="refsect2">
845 <a name="gupnp-didl-lite-resource-get-color-depth"></a><h3>gupnp_didl_lite_resource_get_color_depth ()</h3>
846 <pre class="programlisting"><span class="returnvalue">int</span>                 gupnp_didl_lite_resource_get_color_depth
847                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
848 <p>
849 Get the color-depth of this image/video resource.
850 </p>
851 <div class="variablelist"><table border="0">
852 <col align="left" valign="top">
853 <tbody>
854 <tr>
855 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
856 <td>A <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
857 </td>
858 </tr>
859 <tr>
860 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
861 <td>The color depth of the <em class="parameter"><code>resource</code></em> or -1.</td>
862 </tr>
863 </tbody>
864 </table></div>
865 </div>
866 <hr>
867 <div class="refsect2">
868 <a name="gupnp-didl-lite-resource-get-xml-node"></a><h3>gupnp_didl_lite_resource_get_xml_node ()</h3>
869 <pre class="programlisting"><span class="returnvalue">xmlNode</span> *           gupnp_didl_lite_resource_get_xml_node
870                                                         (<em class="parameter"><code><a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a> *resource</code></em>);</pre>
871 <p>
872 Get the pointer to res node in XML document.
873 </p>
874 <div class="variablelist"><table border="0">
875 <col align="left" valign="top">
876 <tbody>
877 <tr>
878 <td><p><span class="term"><em class="parameter"><code>resource</code></em> :</span></p></td>
879 <td>The <a class="link" href="GUPnPDIDLLiteResource.html" title="GUPnPDIDLLiteResource"><span class="type">GUPnPDIDLLiteResource</span></a>
880 </td>
881 </tr>
882 <tr>
883 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
884 <td>The pointer to res node in XML document. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
885 </td>
886 </tr>
887 </tbody>
888 </table></div>
889 </div>
890 </div>
891 <div class="refsect1">
892 <a name="GUPnPDIDLLiteResource.property-details"></a><h2>Property Details</h2>
893 <div class="refsect2">
894 <a name="GUPnPDIDLLiteResource--audio-channels"></a><h3>The <code class="literal">"audio-channels"</code> property</h3>
895 <pre class="programlisting">  "audio-channels"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
896 <p>
897 The number of audio channels in this resource.
898 </p>
899 <p>Allowed values: &gt;= -1</p>
900 <p>Default value: -1</p>
901 </div>
902 <hr>
903 <div class="refsect2">
904 <a name="GUPnPDIDLLiteResource--bitrate"></a><h3>The <code class="literal">"bitrate"</code> property</h3>
905 <pre class="programlisting">  "bitrate"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
906 <p>
907 The bitrate of this resource.
908 </p>
909 <p>Allowed values: &gt;= -1</p>
910 <p>Default value: -1</p>
911 </div>
912 <hr>
913 <div class="refsect2">
914 <a name="GUPnPDIDLLiteResource--bits-per-sample"></a><h3>The <code class="literal">"bits-per-sample"</code> property</h3>
915 <pre class="programlisting">  "bits-per-sample"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
916 <p>
917 The sample size of this resource.
918 </p>
919 <p>Allowed values: &gt;= -1</p>
920 <p>Default value: -1</p>
921 </div>
922 <hr>
923 <div class="refsect2">
924 <a name="GUPnPDIDLLiteResource--color-depth"></a><h3>The <code class="literal">"color-depth"</code> property</h3>
925 <pre class="programlisting">  "color-depth"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
926 <p>
927 The color-depth of this image/video resource.
928 </p>
929 <p>Allowed values: &gt;= -1</p>
930 <p>Default value: -1</p>
931 </div>
932 <hr>
933 <div class="refsect2">
934 <a name="GUPnPDIDLLiteResource--duration"></a><h3>The <code class="literal">"duration"</code> property</h3>
935 <pre class="programlisting">  "duration"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a>                 : Read / Write</pre>
936 <p>
937 The duration (in seconds) of this resource.
938 </p>
939 <p>Allowed values: &gt;= -1</p>
940 <p>Default value: -1</p>
941 </div>
942 <hr>
943 <div class="refsect2">
944 <a name="GUPnPDIDLLiteResource--height"></a><h3>The <code class="literal">"height"</code> property</h3>
945 <pre class="programlisting">  "height"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
946 <p>
947 The height of this image/video resource.
948 </p>
949 <p>Allowed values: &gt;= -1</p>
950 <p>Default value: -1</p>
951 </div>
952 <hr>
953 <div class="refsect2">
954 <a name="GUPnPDIDLLiteResource--import-uri"></a><h3>The <code class="literal">"import-uri"</code> property</h3>
955 <pre class="programlisting">  "import-uri"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
956 <p>
957 The Import URI associated with this resource.
958 </p>
959 <p>Default value: NULL</p>
960 </div>
961 <hr>
962 <div class="refsect2">
963 <a name="GUPnPDIDLLiteResource--protection"></a><h3>The <code class="literal">"protection"</code> property</h3>
964 <pre class="programlisting">  "protection"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
965 <p>
966 The protection system used for this resource.
967 </p>
968 <p>Default value: NULL</p>
969 </div>
970 <hr>
971 <div class="refsect2">
972 <a name="GUPnPDIDLLiteResource--protocol-info"></a><h3>The <code class="literal">"protocol-info"</code> property</h3>
973 <pre class="programlisting">  "protocol-info"            <a class="link" href="GUPnPProtocolInfo.html" title="GUPnPProtocolInfo"><span class="type">GUPnPProtocolInfo</span></a>*    : Read / Write</pre>
974 <p>
975 The protocol info associated with this resource.
976 </p>
977 </div>
978 <hr>
979 <div class="refsect2">
980 <a name="GUPnPDIDLLiteResource--sample-freq"></a><h3>The <code class="literal">"sample-freq"</code> property</h3>
981 <pre class="programlisting">  "sample-freq"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
982 <p>
983 The sample frequency of this resource.
984 </p>
985 <p>Allowed values: &gt;= -1</p>
986 <p>Default value: -1</p>
987 </div>
988 <hr>
989 <div class="refsect2">
990 <a name="GUPnPDIDLLiteResource--size"></a><h3>The <code class="literal">"size"</code> property</h3>
991 <pre class="programlisting">  "size"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a>                 : Read / Write</pre>
992 <p>
993 The size (in bytes) of this resource.
994 </p>
995 <p>Allowed values: &gt;= -1</p>
996 <p>Default value: -1</p>
997 </div>
998 <hr>
999 <div class="refsect2">
1000 <a name="GUPnPDIDLLiteResource--size64"></a><h3>The <code class="literal">"size64"</code> property</h3>
1001 <pre class="programlisting">  "size64"                   <span class="type">gint64</span>                : Read / Write</pre>
1002 <p>
1003 The size (in bytes) of this resource.
1004 </p>
1005 <p>Allowed values: &gt;= -1</p>
1006 <p>Default value: -1</p>
1007 </div>
1008 <hr>
1009 <div class="refsect2">
1010 <a name="GUPnPDIDLLiteResource--uri"></a><h3>The <code class="literal">"uri"</code> property</h3>
1011 <pre class="programlisting">  "uri"                      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
1012 <p>
1013 The URI associated with this resource.
1014 </p>
1015 <p>Default value: NULL</p>
1016 </div>
1017 <hr>
1018 <div class="refsect2">
1019 <a name="GUPnPDIDLLiteResource--width"></a><h3>The <code class="literal">"width"</code> property</h3>
1020 <pre class="programlisting">  "width"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
1021 <p>
1022 The width of this image/video resource.
1023 </p>
1024 <p>Allowed values: &gt;= -1</p>
1025 <p>Default value: -1</p>
1026 </div>
1027 <hr>
1028 <div class="refsect2">
1029 <a name="GUPnPDIDLLiteResource--xml-doc"></a><h3>The <code class="literal">"xml-doc"</code> property</h3>
1030 <pre class="programlisting">  "xml-doc"                  <a href="../gupnp/GUPnPXMLDoc.html"><span class="type">GUPnPXMLDoc</span></a>*          : Write / Construct Only</pre>
1031 <p>
1032 The reference to XML document containing this object.
1033 </p>
1034 <p>
1035 Internal property.
1036 </p>
1037 <p class="stability">Stability Level: Private</p>
1038 </div>
1039 <hr>
1040 <div class="refsect2">
1041 <a name="GUPnPDIDLLiteResource--xml-node"></a><h3>The <code class="literal">"xml-node"</code> property</h3>
1042 <pre class="programlisting">  "xml-node"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write / Construct Only</pre>
1043 <p>
1044 The pointer to res node in XML document.
1045 </p>
1046 </div>
1047 </div>
1048 </div>
1049 <div class="footer">
1050 <hr>
1051           Generated by GTK-Doc V1.18</div>
1052 </body>
1053 </html>