![]() |
![]() |
![]() |
GUPnP A/V Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GUPnPDIDLLiteContainer; gboolean gupnp_didl_lite_container_get_searchable (GUPnPDIDLLiteContainer *container
); gint gupnp_didl_lite_container_get_child_count (GUPnPDIDLLiteContainer *container
); GList * gupnp_didl_lite_container_get_create_classes (GUPnPDIDLLiteContainer *container
); GList * gupnp_didl_lite_container_get_search_classes (GUPnPDIDLLiteContainer *container
); gint64 gupnp_didl_lite_container_get_storage_used (GUPnPDIDLLiteContainer *container
); void gupnp_didl_lite_container_set_searchable (GUPnPDIDLLiteContainer *container
,gboolean searchable
); void gupnp_didl_lite_container_set_child_count (GUPnPDIDLLiteContainer *container
,gint child_count
); void gupnp_didl_lite_container_set_storage_used (GUPnPDIDLLiteContainer *container
,gint64 storage_used
); void gupnp_didl_lite_container_add_create_class (GUPnPDIDLLiteContainer *container
,const char *create_class
); void gupnp_didl_lite_container_add_create_class_full (GUPnPDIDLLiteContainer *container
,const char *create_class
,gboolean include_derived
); void gupnp_didl_lite_container_add_search_class (GUPnPDIDLLiteContainer *container
,const char *search_class
); void gupnp_didl_lite_container_add_search_class_full (GUPnPDIDLLiteContainer *container
,const char *search_class
,gboolean include_derived
);
"child-count" gint : Read / Write "container-update-id" guint : Read / Write "searchable" gboolean : Read / Write "storage-used" gint64 : Read / Write "total-deleted-child-count" guint : Read / Write
gboolean gupnp_didl_lite_container_get_searchable
(GUPnPDIDLLiteContainer *container
);
Checks whether container
is searchable.
|
GUPnPDIDLLiteContainer |
Returns : |
TRUE if container is searchable. |
gint gupnp_didl_lite_container_get_child_count
(GUPnPDIDLLiteContainer *container
);
Get the child count of the container
. If the child count is unknown, -1 is
returned.
|
GUPnPDIDLLiteContainer |
Returns : |
The child count of the container , or -1 if it is unknown. |
GList * gupnp_didl_lite_container_get_create_classes
(GUPnPDIDLLiteContainer *container
);
Gets the list of create classes of the container
.
|
GUPnPDIDLLiteContainer |
Returns : |
The list of create classes
belonging to container , or NULL .
g_list_free the returned list after usage and g_free each string in it. [element-type utf8][transfer full]
|
GList * gupnp_didl_lite_container_get_search_classes
(GUPnPDIDLLiteContainer *container
);
Gets the list of search classes of the container
.
|
GUPnPDIDLLiteContainer |
Returns : |
The list of search classes
belonging to container , or NULL . g_list_free the returned list after usage
and g_free each string in it. [element-type utf8][transfer full]
|
gint64 gupnp_didl_lite_container_get_storage_used
(GUPnPDIDLLiteContainer *container
);
Get the number of bytes used by all child items of the container
.
If storage used is unknown, -1 is returned.
|
GUPnPDIDLLiteContainer |
Returns : |
The number of bytes used by all children of the container ,
or -1 if it is unknown. |
void gupnp_didl_lite_container_set_searchable (GUPnPDIDLLiteContainer *container
,gboolean searchable
);
(Un)set the searchibility of container
.
|
GUPnPDIDLLiteContainer |
|
The searchibility |
void gupnp_didl_lite_container_set_child_count (GUPnPDIDLLiteContainer *container
,gint child_count
);
Set the child count of the container
.
|
GUPnPDIDLLiteContainer |
|
The child count |
void gupnp_didl_lite_container_set_storage_used (GUPnPDIDLLiteContainer *container
,gint64 storage_used
);
Set the number of bytes used by all child items of the container
.
|
GUPnPDIDLLiteContainer |
|
The number of bytes used by all child items of the
container or -1 if unknown. |
void gupnp_didl_lite_container_add_create_class (GUPnPDIDLLiteContainer *container
,const char *create_class
);
Add a new create class to the container
. includeDerived defaults to "0".
|
GUPnPDIDLLiteContainer |
|
The createClass to add. |
Returns : |
None. |
void gupnp_didl_lite_container_add_create_class_full (GUPnPDIDLLiteContainer *container
,const char *create_class
,gboolean include_derived
);
Add a new create class to the container
.
|
GUPnPDIDLLiteContainer |
|
The createClass to add. |
|
Whether object with dervied classes may be created in this container or not. |
Returns : |
None. |
void gupnp_didl_lite_container_add_search_class (GUPnPDIDLLiteContainer *container
,const char *search_class
);
Add a new search class to the container
.
|
GUPnPDIDLLiteContainer |
|
The searchClass to add. |
Returns : |
None. |
void gupnp_didl_lite_container_add_search_class_full (GUPnPDIDLLiteContainer *container
,const char *search_class
,gboolean include_derived
);
Add a new search class to the container
.
|
GUPnPDIDLLiteContainer |
|
The searchClass to add. |
|
includeDerived attribute of the DIDL |
Returns : |
None. |
"child-count"
property"child-count" gint : Read / Write
The child count of this container.
Allowed values: >= 0
Default value: 0
"container-update-id"
property"container-update-id" guint : Read / Write
Update ID of this container.
Default value: 0
"searchable"
property"searchable" gboolean : Read / Write
Whether this container is searchable.
Default value: FALSE
"storage-used"
property"storage-used" gint64 : Read / Write
The number of bytes used by all child items of this container.
Allowed values: >= -1
Default value: -1
"total-deleted-child-count"
property"total-deleted-child-count" guint : Read / Write
Total deleted child count of this container.
Default value: 0