Click or drag to resize
NAPlatform Class
NewAer
This class provides methods for starting and stopping scanning, checking if scanning is running, and checking if radio interfaces are enabled.
Inheritance Hierarchy
SystemObject
  NewAer.SDKNAPlatform

Namespace: NewAer.SDK
Assembly: NewAer (in NewAer.dll) Version: 5.1.16.3 (5.1.16.3)
Syntax
public class NAPlatform : IDisposable

The NAPlatform type exposes the following members.

Constructors
  NameDescription
Public methodNAPlatform
Creates a new NAPlatform instance.
Top
Methods
  NameDescription
Public methodDispose
Disposes Platform and all dependent devices
Public methodGetDevices(FuncNADevice, Boolean, Boolean)
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'
Public methodGetDevicesT(FuncNADevice, Boolean, Boolean)
Thread-safe device query based on type and predicate If you need to know when data in this list changes you need to register a callback on EventHandler 'UpdatedDevice'
Public methodStatic memberGetInstance
Gets the active instance of NAPlatform.
Public methodGetMyDeviceId
Public methodIncludeRemoteDevices
Includes the remote devices.
Public methodSendMessage
Sends a message to a specific device over BTLE.
Public methodStartScanWithDeviceTypes
Turns on scanning for a specific type of device
Public methodStopScanning
Stops the scanning of all devices.
Public methodStopScanWithDeviceTypes
Turns off scanning for a specific type of device
Top
Properties
  NameDescription
Public propertyIsRanging
Gets or sets a value indicating whether scanner is in range mode.
Top
Events
  NameDescription
Public eventDebugLog
Does nothing; only valid for debug builds of the SDK.
Public eventFoundDevice
Occurs when a device is found.
Public eventLostDevice
Occurs when a device is lost.
Public eventReceivedMessage
Occurs when a message is received.
Public eventScanFailed
Occurs when scanning has failed.
Public eventSentMessage
Occurs when a message is sent.
Public eventUpdatedDevice
Occurs when a device is updated.
Top
See Also