find_by_platform_id


Description:

[ Version ( since = "0.2.4" ) ]
public Device find_by_platform_id (string platform_id) throws Error

Finds a device based on its platform id value.

Parameters:

this

a Context

platform_id

a platform id, e.g. "usb:00:03:03:02"

Returns:

a new Device, or null if not found.