Click or drag to resize
NADevice Class
NewAer
The representation of a device in the system. This class also provides static methods for working with devices the platform knows about. An instance of NADevice is actively backed by the device in the system, so any calls into the device return the current state of the device as known to the system.
Inheritance Hierarchy

Namespace: NewAer.SDK
Assembly: NewAer (in NewAer.dll) Version: 5.1.16.3 (5.1.16.3)
Syntax
public abstract class NADevice : IComparable, 
	INotifyPropertyChanged

The NADevice type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
Allows NADevice objects to be sorted by DeviceType, then by connection status, then by signal strength The stronger the signal the higher in the list it'll appear. Items with the same signal strength are sorted by name.
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetData
Returns a Dictionary of all custom key/data string pairs for this device
Public methodGetData(String)
Get Custom data for a device by key
Public methodGetHashCode
Hash Code is based on the Device ID
(Overrides ObjectGetHashCode.)
Public methodSetData
Sets Custom data for a device by key and data string
Public methodToString
Provides a string representing this device
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyData
Public propertyDeviceId
The Unique Device ID
Public propertyDeviceType
Device type
Public propertyDeviceTypeAsChars
Gets the device type as string prefix.
Public propertyDeviceTypeAsString
Gets the device type as string.
Public propertyInitiallySeen
DateTime the device was initially seen (UTC timezone)
Public propertyInitialSeenInLocalTime
DateTime the device was initially seen (local timezone)
Public propertyIsRemote
Gets or sets a value indicating whether this device is remote device found via the area scanner
Public propertyLastSeen
DateTime the device was last seen (UTC timezone)
Public propertyLastSeenInLocalTime
DateTime the device was last seen (local timezone)
Public propertyName
The Device Name
Public propertyPowerbars
Returns the number of power bars to display for this device, from zero to five.
Public propertyProximity
Gets the proximity of the device.
Public propertyRSSI
RSSI
Public propertySignalStrength
Device signal strength
Public propertyStatus
The device status
Top
Events
  NameDescription
Public eventPropertyChanged
Top
See Also