AppStream.SystemInfo.get_os_id – appstream Reference Manual
Packages
appstream
AppStream
SystemInfo
SystemInfo
SystemInfo.template_for_chassis
get_device_name_for_modalias
get_display_length
get_gui_available
get_kernel_name
get_kernel_version
get_memory_total
get_modaliases
get_os_cid
get_os_homepage
get_os_id
get_os_name
get_os_version
has_device_matching_modalias
has_input_control
modalias_to_syspath
set_display_length
set_gui_available
set_input_control
get_os_id
Description:
public
unowned
string
get_os_id
()
Get the ID of the current operating system.
Parameters:
this
a
SystemInfo
instance.
Returns:
the current OS ID.