Snapd.Interface¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Interface documentation URL |
||
r/w/co |
Interface name |
||
r/w/co |
Plugs of this interface type |
||
r/w/co |
Slots of this interface type |
||
r/w/co |
Interface summary |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.Interface(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.Interface
contains information about a Snap interface.New in version 1.48.
- get_doc_url()¶
- Returns:
a URL.
- Return type:
Get the documentation URL of this interface.
New in version 1.48.
- get_plugs()¶
- Returns:
an array of
Snapd.Plug
.- Return type:
Get the plugs matching this interface type.
New in version 1.48.
- get_slots()¶
- Returns:
an array of
Snapd.Slot
.- Return type:
Get the slots matching this interface type.
New in version 1.48.
- get_summary()¶
- Returns:
a summary.
- Return type:
Get the summary of this interface.
New in version 1.48.
Property Details¶
- Snapd.Interface.props.doc_url¶
- Name:
doc-url
- Type:
- Default Value:
- Flags:
Interface documentation URL
- Snapd.Interface.props.name¶
- Name:
name
- Type:
- Default Value:
- Flags:
Interface name
- Snapd.Interface.props.plugs¶
- Name:
plugs
- Type:
- Default Value:
- Flags:
Plugs of this interface type
- Snapd.Interface.props.slots¶
- Name:
slots
- Type:
- Default Value:
- Flags:
Slots of this interface type