Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataMediaCredit: GData Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch11.html" title="Media RSS API">
<link rel="prev" href="GDataMediaContent.html" title="GDataMediaContent">
<link rel="next" href="GDataMediaThumbnail.html" title="GDataMediaThumbnail">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GDataMediaCredit.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GDataMediaCredit.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GDataMediaCredit.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch11.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataMediaContent.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataMediaThumbnail.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataMediaCredit"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataMediaCredit.top_of_page"></a>GDataMediaCredit</span></h2>
<p>GDataMediaCredit — Media RSS credit element</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataMediaCredit.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GDataMediaCredit.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataMediaCredit.html#gdata-media-credit-get-credit" title="gdata_media_credit_get_credit ()">gdata_media_credit_get_credit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataMediaCredit.html#gdata-media-credit-get-scheme" title="gdata_media_credit_get_scheme ()">gdata_media_credit_get_scheme</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataMediaCredit.html#gdata-media-credit-get-role" title="gdata_media_credit_get_role ()">gdata_media_credit_get_role</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataMediaCredit.html#GDataMediaCredit--credit" title="The “credit” property">credit</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataMediaCredit.html#GDataMediaCredit--role" title="The “role” property">role</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataMediaCredit.html#GDataMediaCredit--scheme" title="The “scheme” property">scheme</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataMediaCredit.html#GDataMediaCredit-struct" title="GDataMediaCredit">GDataMediaCredit</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataMediaCredit.html#GDataMediaCreditClass" title="GDataMediaCreditClass">GDataMediaCreditClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
        <span class="lineart">╰──</span> GDataMediaCredit
            <span class="lineart">╰──</span> <a class="link" href="GDataYouTubeCredit.html" title="GDataYouTubeCredit">GDataYouTubeCredit</a>
</pre>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gdata/media/gdata-media-credit.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.description"></a><h2>Description</h2>
<p><a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> represents a "credit" element from the</p>
<a class="ulink" href="http://video.search.yahoo.com/mrss" target="_top">Media RSS specification</a>.
<p>The class only implements parsing, not XML output, at the moment.</p>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdata-media-credit-get-credit"></a><h3>gdata_media_credit_get_credit ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_media_credit_get_credit (<em class="parameter"><code><a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataMediaCredit.html#GDataMediaCredit--credit" title="The “credit” property"><span class="type">“credit”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-media-credit-get-credit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-media-credit-get-credit.returns"></a><h4>Returns</h4>
<p> the name of the credited entity</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-media-credit-get-scheme"></a><h3>gdata_media_credit_get_scheme ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_media_credit_get_scheme (<em class="parameter"><code><a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataMediaCredit.html#GDataMediaCredit--scheme" title="The “scheme” property"><span class="type">“scheme”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-media-credit-get-scheme.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-media-credit-get-scheme.returns"></a><h4>Returns</h4>
<p> the credit's role scheme, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-media-credit-get-role"></a><h3>gdata_media_credit_get_role ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_media_credit_get_role (<em class="parameter"><code><a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataMediaCredit.html#GDataMediaCredit--role" title="The “role” property"><span class="type">“role”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-media-credit-get-role.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-media-credit-get-role.returns"></a><h4>Returns</h4>
<p> the credited entity's role, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GDataMediaCredit-struct"></a><h3>GDataMediaCredit</h3>
<pre class="programlisting">typedef struct _GDataMediaCredit GDataMediaCredit;</pre>
<p>All the fields in the <a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> structure are private and should never be accessed directly.</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataMediaCreditClass"></a><h3>GDataMediaCreditClass</h3>
<pre class="programlisting">typedef struct {
} GDataMediaCreditClass;
</pre>
<p>All the fields in the <a class="link" href="GDataMediaCredit.html#GDataMediaCreditClass" title="GDataMediaCreditClass"><span class="type">GDataMediaCreditClass</span></a> structure are private and should never be accessed directly.</p>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataMediaCredit.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataMediaCredit--credit"></a><h3>The <code class="literal">“credit”</code> property</h3>
<pre class="programlisting">  “credit”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The credited entity's name.</p>
<p>For more information, see the <a class="ulink" href="http://video.search.yahoo.com/mrss" target="_top">Media RSS specification</a>.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataMediaCredit--role"></a><h3>The <code class="literal">“role”</code> property</h3>
<pre class="programlisting">  “role”                     <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The role the credited entity played in the production of the media.</p>
<p>For more information, see the <a class="ulink" href="http://video.search.yahoo.com/mrss" target="_top">Media RSS specification</a>.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataMediaCredit--scheme"></a><h3>The <code class="literal">“scheme”</code> property</h3>
<pre class="programlisting">  “scheme”                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>A URI that identifies the role scheme.</p>
<p>For more information, see the <a class="ulink" href="http://video.search.yahoo.com/mrss" target="_top">Media RSS specification</a>.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>