GUPnPAV.FeatureListParser

g GObject.Object GObject.Object GUPnPAV.FeatureListParser GUPnPAV.FeatureListParser GObject.Object->GUPnPAV.FeatureListParser

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

parse_text (text)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GUPnPAV.FeatureListParser(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUPnPAV.FeatureListParserClass

classmethod new()
Returns:

A new GUPnPAV.FeatureListParser object.

Return type:

GUPnPAV.FeatureListParser

parse_text(text)
Parameters:

text (str) – The feature list string to be parsed

Raises:

GLib.Error

Returns:

The list of features or None if an error occured.

Return type:

[GUPnPAV.Feature] or None

Parses text and returns the list of available features. If an error occured error will be set.