get_state_reason


Description:

public DeviceState get_state_reason (out DeviceStateReason reason)

Gets the current Device state (return value) and the reason for entering the state ( reason argument).

Parameters:

this

a Device

reason

location to store reason (#NMDeviceStateReason), or null

Returns:

the current device state