Pk.Restart – packagekit-glib2 Reference Manual
Restart
Description:
[
CCode
( cname =
"PkRestartEnum"
, cprefix =
"PK_RESTART_ENUM_"
, type_id =
"pk_restart_enum_get_type ()"
) ]
[
GIR
( name =
"RestartEnum"
) ]
public
enum
Restart
What restart we need to after a transaction, ordered by severity
Namespace:
Pk
Package:
packagekit-glib2
Content:
Enum values:
APPLICATION
-
Need to restart the application
LAST
NONE
-
No restart required
SECURITY_SESSION
SECURITY_SYSTEM
SESSION
-
Need to restart the session
SYSTEM
-
Need to restart the system
UNKNOWN
-
Unknown restart state
Static methods:
public
static
Restart
enum_from_string
(
string
restart)
Converts a text enumerated type to its unsigned integer representation
public
static
Restart
from_string
(
string
restart)
Methods:
public
unowned
string
enum_to_string
()
Converts a enumerated type to its text representation
public
unowned
string
to_string
()
2022 vala-language.org