Device
Class
constructor
parent
name
connection_
compatible
get_
hw_
address
get_
setting_
type
get_
type_
description
state_
changed
GJS API Reference
NMClient-1.0
NMClient
DeviceClass
Class DeviceClass
Hierarchy
DeviceClass
Index
Constructors
constructor
Properties
parent
name
Methods
connection_
compatible
get_
hw_
address
get_
setting_
type
get_
type_
description
state_
changed
Constructors
constructor
new
Device
Class
(
)
:
NMClient
.
DeviceClass
Returns
NMClient
.
DeviceClass
Properties
parent
parent
:
NMClient
.
ObjectClass
Static
name
name
:
string
Methods
connection_
compatible
connection_
compatible
(
device
:
NMClient
.
Device
, connection
:
NetworkManager
.
Connection
)
:
boolean
Parameters
device:
NMClient
.
Device
connection:
NetworkManager
.
Connection
Returns
boolean
get_
hw_
address
get_
hw_
address
(
device
:
NMClient
.
Device
)
:
string
Parameters
device:
NMClient
.
Device
Returns
string
get_
setting_
type
get_
setting_
type
(
device
:
NMClient
.
Device
)
:
GType
<
unknown
>
Parameters
device:
NMClient
.
Device
Returns
GType
<
unknown
>
get_
type_
description
get_
type_
description
(
device
:
NMClient
.
Device
)
:
string
Parameters
device:
NMClient
.
Device
Returns
string
state_
changed
state_
changed
(
device
:
NMClient
.
Device
, new_state
:
NetworkManager
.
DeviceState
, old_state
:
NetworkManager
.
DeviceState
, reason
:
NetworkManager
.
DeviceStateReason
)
:
void
Parameters
device:
NMClient
.
Device
new_state:
NetworkManager
.
DeviceState
old_state:
NetworkManager
.
DeviceState
reason:
NetworkManager
.
DeviceStateReason
Returns
void
Device
Class
constructor
parent
name
connection_
compatible
get_
hw_
address
get_
setting_
type
get_
type_
description
state_
changed
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJOTUNsaWVudF8xXzAuTk1DbGllbnQuRGV2aWNlQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3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