Pk.Network – packagekit-glib2 Reference Manual
Network
Description:
[
CCode
( cname =
"PkNetworkEnum"
, cprefix =
"PK_NETWORK_ENUM_"
, type_id =
"pk_network_enum_get_type ()"
) ]
[
GIR
( name =
"NetworkEnum"
) ]
public
enum
Network
Network type
Namespace:
Pk
Package:
packagekit-glib2
Content:
Enum values:
LAST
MOBILE
-
Mobile network
OFFLINE
-
Offline (no network)
ONLINE
-
Online (network type unknown)
UNKNOWN
-
Unknown network
WIFI
-
WiFi network
WIRED
-
Wired network
Static methods:
public
static
Network
enum_from_string
(
string
network)
Converts a text enumerated type to its unsigned integer representation
public
static
Network
from_string
(
string
network)
Methods:
public
unowned
string
enum_to_string
()
Converts a enumerated type to its text representation
public
unowned
string
to_string
()
2022 vala-language.org