Pk.MediaType – packagekit-glib2 Reference Manual
MediaType
Description:
[
CCode
( cname =
"PkMediaTypeEnum"
, cprefix =
"PK_MEDIA_TYPE_ENUM_"
, type_id =
"pk_media_type_enum_get_type ()"
) ]
[
GIR
( name =
"MediaTypeEnum"
) ]
public
enum
MediaType
The media type
Namespace:
Pk
Package:
packagekit-glib2
Content:
Enum values:
CD
-
Media is a CD
DISC
-
Media is a disc (not CD or DVD)
DVD
-
Media is a DVD
LAST
UNKNOWN
-
Unknown media type
Static methods:
public
static
MediaType
enum_from_string
(
string
media_type)
Converts a text enumerated type to its unsigned integer representation
public
static
MediaType
from_string
(
string
media_type)
Methods:
public
unowned
string
enum_to_string
()
Converts a enumerated type to its text representation
public
unowned
string
to_string
()
2022 vala-language.org