Snapd.App¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|
||
[ |
r/w/co |
App aliases |
|
r/w/co |
Common ID |
||
r/w/co |
Daemon type |
||
r/w/co |
App desktop file path |
||
r/w/co |
|
||
r/w/co |
App name |
||
r/w/co |
Snap name |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.App(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.App
contains information about an app in a Snap.Snaps can contain apps which is a single binary executable.
New in version 1.0.
- get_active()¶
-
Get if this service is active.
New in version 1.25.
- get_aliases()¶
- Returns:
the alias names.
- Return type:
[
str
]
Get the aliases for this app.
New in version 1.7.
Deprecated since version 1.25.
- get_common_id()¶
-
Get the common ID associated with this app.
New in version 1.41.
- get_daemon_type()¶
- Returns:
the daemon type or
None
.- Return type:
Get the daemon type for this app.
New in version 1.9.
- get_desktop_file()¶
-
Get the path to the desktop file for this app.
New in version 1.14.
- get_enabled()¶
-
Get if this service is enabled.
New in version 1.25.
Property Details¶
- Snapd.App.props.common_id¶
- Name:
common-id
- Type:
- Default Value:
- Flags:
Common ID
- Snapd.App.props.daemon_type¶
- Name:
daemon-type
- Type:
- Default Value:
- Flags:
Daemon type
- Snapd.App.props.desktop_file¶
- Name:
desktop-file
- Type:
- Default Value:
- Flags:
App desktop file path
- Snapd.App.props.name¶
- Name:
name
- Type:
- Default Value:
- Flags:
App name