get_device


Description:

[ Version ( since = "3.0" ) ]
public unowned Device? get_device ()

If the event contains a “device” field, this function will return it, else it will return null.

Parameters:

this

a Event.

Returns:

a Device, or null.