GUPnPAV.DIDLLiteContainer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The child count of this container. |
||
r/w |
Update ID of this container. |
||
r/w |
Whether this container is searchable. |
||
r/w |
The Number of bytes used by all child items of this container. |
||
r/w |
Total deleted child count of this container. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GUPnPAV.DIDLLiteContainer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- add_create_class(create_class)¶
- Parameters:
create_class (
str
) – The createClass to add.
Add a new create class to the self. includeDerived defaults to “0”.
- add_create_class_full(create_class, include_derived)¶
- Parameters:
Add a new create class to the self.
- add_search_class(search_class)¶
- Parameters:
search_class (
str
) – The searchClass to add.
Add a new search class to the self.
- add_search_class_full(search_class, include_derived)¶
- Parameters:
Add a new search class to the self.
- container_update_id_is_set()¶
-
Get whether the container update ID of the self is set.
- get_child_count()¶
- Returns:
The child count of the self, or -1 if it is unknown.
- Return type:
Get the child count of the self. If the child count is unknown, -1 is returned.
- get_container_update_id()¶
- Returns:
The container update ID of the self.
- Return type:
Get the container update ID of the self.
- get_create_classes()¶
- Returns:
The list of create classes belonging to self, or
None
. #g_list_free the returned list after usage andGLib.free
each string in it.- Return type:
[
str
]
Gets the list of create classes of the self.
- get_create_classes_full()¶
- Returns:
The list of create classes belonging to self, or
None
. #g_list_free the returned list after usage and unref each object in it.- Return type:
Gets the list of create classes of the self.
- get_search_classes()¶
- Returns:
The list of search classes belonging to self, or
None
. #g_list_free the returned list after usage andGLib.free
each string in it.- Return type:
[
str
]
Gets the list of search classes of the self.
- get_searchable()¶
-
Checks whether self is searchable.
- get_storage_used()¶
- Returns:
The number of bytes used by all children of the self, or -1 if it is unknown.
- Return type:
Get the number of bytes used by all child items of the self. If storage used is unknown, -1 is returned.
- get_total_deleted_child_count()¶
- Returns:
The total deleted child count of the self.
- Return type:
Get the total deleted child count of the self.
- set_child_count(child_count)¶
- Parameters:
child_count (
int
) – The child count
Set the child count of the self.
- set_container_update_id(update_id)¶
- Parameters:
update_id (
int
) – The container update ID
Set the container update ID of the self.
- set_searchable(searchable)¶
- Parameters:
searchable (
bool
) – The searchibility
(Un)set the searchibility of self.
- set_storage_used(storage_used)¶
- Parameters:
storage_used (
int
) – The number of bytes used by all child items of the self or -1 if unknown.
Set the number of bytes used by all child items of the self.
- set_total_deleted_child_count(count)¶
- Parameters:
count (
int
) – The container update ID
Set the container update ID of the self.
- total_deleted_child_count_is_set()¶
-
Get whether the total deleted child conut of the self is set.
- unset_container_update_id()¶
Unset the container update ID property of the self.
- unset_total_deleted_child_count()¶
Unset the total deleted child count property of the self.
Property Details¶
- GUPnPAV.DIDLLiteContainer.props.child_count¶
-
The child count of this container.
- GUPnPAV.DIDLLiteContainer.props.container_update_id¶
-
Update ID of this container.
- GUPnPAV.DIDLLiteContainer.props.searchable¶
-
Whether this container is searchable.
- GUPnPAV.DIDLLiteContainer.props.storage_used¶
-
The number of bytes used by all child items of this container.