GUPnPAV.CDSLastChangeEntry¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
Details¶
- class GUPnPAV.CDSLastChangeEntry¶
Opaque struct which contains information about the event.
- get_class()¶
- Returns:
The upnp class of the object of this entry.
- Return type:
Get the class of the object in this change entry. This is only valid if
GUPnPAV.CDSLastChangeEntry.get_event
() returnsGUPnPAV.CDSLastChangeEvent.OBJECT_ADDED
.
- get_event()¶
- Returns:
An event from the
GUPnPAV.CDSLastChangeEvent
orGUPnPAV.CDSLastChangeEvent.INVALID
if the entry is not valid.- Return type:
Get the type of the last change entry as defined in
GUPnPAV.CDSLastChangeEvent
.
- get_object_id()¶
- Returns:
The id of the object of this entry.
- Return type:
Get the ID of the object in this change entry.
- get_parent_id()¶
- Returns:
The id of the object’s parent of this entry.
- Return type:
Get the parent object id of the object in this change entry. This is only valid if
GUPnPAV.CDSLastChangeEntry.get_event
() returnsGUPnPAV.CDSLastChangeEvent.OBJECT_ADDED
.
- get_update_id()¶
- Returns:
update id of the entry or 0 if the entry is not valid.
- Return type:
Get the update id of the last change entry.
- is_subtree_update()¶
-
Returns whether this entry is part of a subtree update.
- ref()¶
- Returns:
The object passed in self.
- Return type:
Increase reference count of a
GUPnPAV.CDSLastChangeEntry
.
- unref()¶
Decrease reference count of a
GUPnPAV.CDSLastChangeEntry
. If the reference count drops to 0, self is freed.