SystemInformation
Object Hierarchy:
Description:
[ CCode ( type_id = "snapd_system_information_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class SystemInformation : Object
[ Version ( since = "1.0" ) ]
public class SystemInformation : Object
SystemInformation contains information about the system snapd is running on.
Namespace: Snapd
Package: snapd-glib
Content:
Properties:
- public string binaries_directory { get; construct; }
- public string build_id { get; construct; }
- public SystemConfinement confinement { get; construct; }
- public string kernel_version { get; construct; }
- public bool managed { get; construct; }
- public string mount_directory { get; construct; }
- public bool on_classic { get; construct; }
- public string os_id { get; construct; }
- public string os_version { get; construct; }
- public DateTime refresh_hold { get; construct; }
- public DateTime refresh_last { get; construct; }
- public DateTime refresh_next { get; construct; }
- public string refresh_schedule { get; construct; }
- public string refresh_timer { get; construct; }
- public void* sandbox_features { get; construct; }
- public string series { get; construct; }
- public string store { get; construct; }
- public string version { get; construct; }
Creation methods:
- protected SystemInformation ()
Methods:
- public unowned string get_binaries_directory ()
Get the directory snap binaries are stored, e.
- public unowned string get_build_id ()
Gets the unique build ID for the snap build, e.
- public SystemConfinement get_confinement ()
Get the level of confinement the system supports, e.
- public unowned string get_kernel_version ()
Get the version of the kernel snapd is running on, e.
- public bool get_managed ()
Get if snapd is running on a managed system.
- public unowned string get_mount_directory ()
Get the directory snaps are mounted, e.
- public bool get_on_classic ()
Get if this system is a classic system.
- public unowned string get_os_id ()
Get the operating system ID, e.
- public unowned string get_os_version ()
Get the operating system version, e.
- public unowned DateTime? get_refresh_hold ()
Get the time refreshes will be applied at, or null if they are applied immediately.
- public unowned DateTime? get_refresh_last ()
Get the time the last refresh occurred, or null if has not occurred.
- public unowned DateTime? get_refresh_next ()
Get the time the next refresh is scheduled for, or null if none has been scheduled.
- public unowned string? get_refresh_schedule ()
Get the schedule when snap refreshes will occur.
- public unowned string? get_refresh_timer ()
Get the timer that refreshes are running to.
- public unowned HashTable<string,string[]> get_sandbox_features ()
Gets the sandbox features that snapd provides.
- public unowned string get_series ()
Get the series of snapd running, e.
- public unowned string? get_store ()
Get the store being used by snapd, e.
- public unowned string get_version ()
Get the version of snapd running, e.
Inherited Members:
All known members inherited from class GLib.Object