get_preferred_device_link


Description:

public unowned DeviceLink get_preferred_device_link (Filter? filter)

Get the preferred device link matching a given filter and platform.

The filter matches against attributes on the link, not the device.

Parameters:

this

the deployment entity

filter

a device metadata filter

Returns:

a device, or NULL