GUPnPAV.CDSLastChangeEntry

Fields

None

Methods

get_class ()

get_event ()

get_object_id ()

get_parent_id ()

get_update_id ()

is_subtree_update ()

ref ()

unref ()

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:

str

Get the class of the object in this change entry. This is only valid if GUPnPAV.CDSLastChangeEntry.get_event() returns GUPnPAV.CDSLastChangeEvent.OBJECT_ADDED.

get_event()
Returns:

An event from the GUPnPAV.CDSLastChangeEvent or GUPnPAV.CDSLastChangeEvent.INVALID if the entry is not valid.

Return type:

GUPnPAV.CDSLastChangeEvent

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:

str

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:

str

Get the parent object id of the object in this change entry. This is only valid if 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:

int

Get the update id of the last change entry.

is_subtree_update()
Returns:

True, if the entry is part of a subtree update, False otherwise.

Return type:

bool

Returns whether this entry is part of a subtree update.

ref()
Returns:

The object passed in self.

Return type:

GUPnPAV.CDSLastChangeEntry

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.