Click or drag to resize
NAPlatformGetDevices Method (FuncNADevice, Boolean, Boolean)
NewAer
Thread-safe device query based on predicate If you need to know when data in this list changes you need to register a callback on EventHandler 'UpdatedDevice'

Namespace: NewAer.SDK
Assembly: NewAer (in NewAer.dll) Version: 5.1.16.3 (5.1.16.3)
Syntax
public IEnumerable<NADevice> GetDevices(
	Func<NADevice, bool> query = null,
	bool sort = true
)

Parameters

query (Optional)
Type: SystemFuncNADevice, Boolean
optional predicate used to query the device list. If no query is supplied, the entire list is returned
sort (Optional)
Type: SystemBoolean
should the populated list be sorted

Return Value

Type: IEnumerableNADevice
A list of devices based on predicate
See Also