search

fun search(identifier: String): Device?

Searches a Device with the given identifier and returns it if found.

Return

null or a device instance if it exists

See also

Throws

if the identifier isn't valid.