GUPnPDLNA.Restriction

Fields

None

Methods

copy ()

free ()

get_entries ()

get_mime ()

is_empty ()

to_string ()

Details

class GUPnPDLNA.Restriction
copy()
Returns:

A copy of self.

Return type:

GUPnPDLNA.Restriction

free()

Frees self.

get_entries()
Returns:

Entries. Do not modify.

Return type:

{str: GUPnPDLNA.ValueList}

Gets self's entries. It is a string to GUPnPDLNA.ValueList mapping.

get_mime()
Returns:

MIME type. Do not modify.

Return type:

str

Gets self's MIME type.

is_empty()
Returns:

True if self is empty and has no MIME type, otherwise False.

Return type:

bool

to_string()
Returns:

A string representation of self. Free with GLib.free() when not needed.

Return type:

str

Creates a string representation of self.