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 UPnP class of the object in this change entry. This is only valid if [method`GUPnPAV`.CDSLastChangeEntry.get_event] returns [enum`GUPnPAV`.CDSLastChangeEvent.OBJECT_ADDED].
- get_event()¶
- Returns:
An event from the [enum`GUPnPAV`.CDSLastChangeEvent] or
GUPnPAV.CDSLastChangeEvent.INVALIDif the entry is not valid.- Return type:
Get the type of the last change entry as defined in [enum`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 [method`GUPnPAV`.CDSLastChangeEntry.get_event] returns
GUPnPAV.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 [struct`GUPnPAV`.CDSLastChangeEntry].
- unref()¶
Decrease reference count of a [struct`GUPnPAV`.CDSLastChangeEntry]. If the reference count drops to 0, self is freed.