LISNR Radius Android SDK 2.0.0
Classes | Public Member Functions | List of all members
com.lisnr.radius.Receiver Class Reference

Class used receive ultrasonic data. More...

Classes

interface  ReceiverCallback
 Callback interface that contains callbacks for the Receiver object. More...
 

Public Member Functions

 Receiver (String profile, ReceiverCallback callback) throws InvalidProfileException
 
String getProfile ()
 

Detailed Description

Class used receive ultrasonic data.

Constructor & Destructor Documentation

◆ Receiver()

com.lisnr.radius.Receiver.Receiver ( String  profile,
ReceiverCallback  callback 
) throws InvalidProfileException
inline

Constructor for the Receiver object. After construction, the Receiver must be registered with a valid Radius object in order for tones to be received.

Parameters
profileThe Radius profile for which this receiver will receive Tones (must be non-null)
callbackThe implemented ReceiverCallback interface that will be invoked by this Receiver (must be non-null)
Exceptions
com.lisnr.radius.exceptions.InvalidProfileExceptionif the provided profile is invalid
NullPointerExceptionif any the provided arguments are null

Member Function Documentation

◆ getProfile()

String com.lisnr.radius.Receiver.getProfile ( )
inline

Get the profile of the Receiver.

Returns
profile name

The documentation for this class was generated from the following file: