Class

SnapdSystemInformation

since: 1.0

Description [src]

final class Snapd.SystemInformation : GObject.Object
{
  /* No available fields */
}

SnapdSystemInformation contains information about the system snapd is running on.

Available since: 1.0

Ancestors

Instance methods

snapd_system_information_get_architecture

Get the architecture this system is using, e.g. “amd64”.

since: 1.64

snapd_system_information_get_binaries_directory

Get the directory snap binaries are stored, e.g. “/snap/bin”.

since: 1.11

snapd_system_information_get_build_id

Gets the unique build ID for the snap build, e.g. “efdd0b5e69b0742fa5e5bad0771df4d1df2459d1”.

since: 1.40

snapd_system_information_get_confinement

Get the level of confinement the system supports, e.g. SNAPD_SYSTEM_CONFINEMENT_STRICT.

since: 1.15

snapd_system_information_get_kernel_version

Get the version of the kernel snapd is running on, e.g. “4.10.0-15-generic”.

since: 1.11

snapd_system_information_get_managed

Get if snapd is running on a managed system.

since: 1.7

snapd_system_information_get_mount_directory

Get the directory snaps are mounted, e.g. “/snap”.

since: 1.11

snapd_system_information_get_on_classic

Get if this system is a classic system.

since: 1.0

snapd_system_information_get_os_id

Get the operating system ID, e.g. “ubuntu”.

since: 1.0

snapd_system_information_get_os_version

Get the operating system version, e.g. “16.04”.

since: 1.0

snapd_system_information_get_refresh_hold

Get the time refreshes will be applied at, or NULL if they are applied immediately.

since: 1.42

snapd_system_information_get_refresh_last

Get the time the last refresh occurred, or NULL if has not occurred.

since: 1.42

snapd_system_information_get_refresh_next

Get the time the next refresh is scheduled for, or NULL if none has been scheduled.

since: 1.42

snapd_system_information_get_refresh_schedule

Get the schedule when snap refreshes will occur.

since: 1.42

snapd_system_information_get_refresh_timer

Get the timer that refreshes are running to.

since: 1.42

snapd_system_information_get_sandbox_features

Gets the sandbox features that snapd provides. Each backend in snapd provides a list of features that it supports. For example, the “confinement-options” backend may provide “classic”, “devmode” and “strict”.

since: 1.42

snapd_system_information_get_series

Get the series of snapd running, e.g. “16”.

since: 1.0

snapd_system_information_get_store

Get the store being used by snapd, e.g. “Ubuntu”.

since: 1.7

snapd_system_information_get_version

Get the version of snapd running, e.g. “2.11+ppa174-1”.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Snapd.SystemInformation:architecture
No description available.

Snapd.SystemInformation:binaries-directory
No description available.

Snapd.SystemInformation:build-id
No description available.

Snapd.SystemInformation:confinement
No description available.

Snapd.SystemInformation:kernel-version
No description available.

Snapd.SystemInformation:managed
No description available.

Snapd.SystemInformation:mount-directory
No description available.

Snapd.SystemInformation:on-classic
No description available.

Snapd.SystemInformation:os-id
No description available.

Snapd.SystemInformation:os-version
No description available.

Snapd.SystemInformation:refresh-hold
No description available.

Snapd.SystemInformation:refresh-last
No description available.

Snapd.SystemInformation:refresh-next
No description available.

Snapd.SystemInformation:refresh-schedule
No description available.

Snapd.SystemInformation:refresh-timer
No description available.

Snapd.SystemInformation:sandbox-features
No description available.

Snapd.SystemInformation:series
No description available.

Snapd.SystemInformation:store
No description available.

Snapd.SystemInformation:version
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct SnapdSystemInformationClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.