Class DroppedBeaconStatusEvent
- java.lang.Object
-
- com.trx.neon.api.neonConstraint.model.events.DroppedBeaconStatusEvent
-
- All Implemented Interfaces:
android.os.Parcelable,INeonEventConstraint
public final class DroppedBeaconStatusEvent extends java.lang.Object implements android.os.Parcelable, INeonEventConstraint
A Dropped Beacon Status Event is emitted when NeonConstraint.dropUWBBeacon() is called. It indicates whether the beacon was successfully dropped and any error message
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringBeaconIDName of the beacon trying to be dropped, in the form "TRX_9XXX"static android.os.Parcelable.Creator<DroppedBeaconStatusEvent>CREATORUsed for sending data across bindersjava.lang.StringErrorMessageIf success is false, any error messagebooleanSuccessWhether or not dropping the beacon was successfullongUnixTimeMsTimestamp of the status event
-
Constructor Summary
Constructors Constructor Description DroppedBeaconStatusEvent(long unixTimeMs, java.lang.String beaconID, boolean success, java.lang.String errorMessage)Creates a dropped beacon status event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
UnixTimeMs
public final long UnixTimeMs
Timestamp of the status event
-
BeaconID
public final java.lang.String BeaconID
Name of the beacon trying to be dropped, in the form "TRX_9XXX"
-
Success
public final boolean Success
Whether or not dropping the beacon was successful
-
ErrorMessage
public final java.lang.String ErrorMessage
If success is false, any error message
-
CREATOR
public static final android.os.Parcelable.Creator<DroppedBeaconStatusEvent> CREATOR
Used for sending data across binders
-
-
Constructor Detail
-
DroppedBeaconStatusEvent
public DroppedBeaconStatusEvent(long unixTimeMs, java.lang.String beaconID, boolean success, java.lang.String errorMessage)Creates a dropped beacon status event- Parameters:
unixTimeMs- Unix time in msbeaconID- Name of the beacon trying to be dropped, in the form "TRX_9XXX"success- Whether the beacon was successfully droppederrorMessage- Any error message
-
-