public interface BeaconServiceMessenger
Modifier and Type | Method and Description |
---|---|
android.os.IBinder |
getBinder() |
void |
invokeConfigurableDevicesCallbacks(java.util.List<ConfigurableDevice> devices) |
void |
invokeEddystoneCallbacks(java.util.List<Eddystone> eddystones) |
void |
invokeEnterRegionCallbacks(BeaconRegion enteredRegion,
java.util.List<Beacon> packets) |
void |
invokeEnterRegionCallbacks(MirrorRegion enteredRegion,
java.util.List<Mirror> packets) |
void |
invokeExitRegionCallbacks(BeaconRegion exitedRegion,
java.util.List<Beacon> packets) |
void |
invokeExitRegionCallbacks(MirrorRegion exitedRegion,
java.util.List<Mirror> packets) |
void |
invokeLocationCallbacks(java.util.List<EstimoteLocation> proximities) |
void |
invokeMirrorCallbacks(java.util.List<Mirror> mirrors) |
void |
invokeNearableCallbacks(java.util.List<Nearable> nearables) |
void |
invokeRangingCallbacks(BeaconRegion region,
java.util.List<Beacon> packets)
Sends ranging Beacon region with list of
Beacon nearby. |
void |
invokeRangingCallbacks(MirrorRegion region,
java.util.List<Mirror> packets)
Sends ranging Beacon region with list of
Mirror nearby. |
void |
invokeTelemetryCallbacks(java.util.List<EstimoteTelemetry> telemetries) |
void |
sendError(java.lang.Integer errorId) |
void |
sendScanStarted() |
void |
sendScanStopped() |
static final int MSG_START_BEACON_RANGING
static final int MSG_START_MIRROR_RANGING
static final int MSG_STOP_RANGING
static final int MSG_RESPONSE_BEACON_RANGING
static final int MSG_RESPONSE_MIRROR_RANGING
static final int MSG_START_BEACON_MONITORING
static final int MSG_STOP_MONITORING
static final int MSG_START_MIRROR_MONITORING
static final int MSG_STOP_MIRROR_MONITORING
static final int MSG_RESPONSE_MIRROR_ENTER
static final int MSG_RESPONSE_MIRROR_EXIT
static final int MSG_RESPONSE_BEACON_ENTER
static final int MSG_RESPONSE_BEACON_EXIT
static final int MSG_START_EDDYSTONE_SCANNING
static final int MSG_STOP_EDDYSTONE_SCANNING
static final int MSG_START_NEARABLE_SCANNING
static final int MSG_STOP_NEARABLE_SCANNING
static final int MSG_START_TELEMETRY_SCANNING
static final int MSG_STOP_TELEMETRY_SCANNING
static final int MSG_START_CONFIGURABLE_DEVICES_SCANNING
static final int MSG_STOP_CONFIGURABLE_DEVICES_SCANNING
static final int MSG_START_LOCATION_SCANNING
static final int MSG_STOP_LOCATION_SCANNING
static final int MSG_START_MIRROR_SCANNING
static final int MSG_STOP_MIRROR_SCANNING
static final int MSG_RESPONSE_EDDYSTONE_SCAN
static final int MSG_RESPONSE_NEARABLE_SCAN
static final int MSG_RESPONSE_TELEMETRY_SCAN
static final int MSG_RESPONSE_LOCATIONS_SCAN
static final int MSG_RESPONSE_CONFIGURABLE_DEVICES_SCAN
static final int MSG_RESPONSE_MIRROR_SCAN
static final int MSG_REGISTER_ERROR_LISTENER
static final int MSG_SET_FOREGROUND_SCAN_PERIOD
static final int MSG_SET_BACKGROUND_SCAN_PERIOD
static final int MSG_SCAN_STARTED
static final int MSG_SCAN_STOPPED
static final int MSG_REGISTER_SCAN_STATUS_LISTENER
static final int MSG_SET_REGION_EXIT_EXPIRATION
static final int MSG_SET_SCAN_REQUEST_DELAY
static final int MSG_RESPONSE_ERROR
static final java.lang.String REGION_KEY
Region
is stored.static final java.lang.String REGION_ID_KEY
String
(region id) is stored.static final java.lang.String RANGING_RESULT_KEY
static final java.lang.String MONITORING_RESULT_KEY
static final java.lang.String SCAN_PERIOD_KEY
ScanPeriodData
is stored.static final java.lang.String ERROR_ID_KEY
Integer
(error id) is stored.static final java.lang.String REGION_EXIT_EXPIRATION
Integer
(error id) is stored.static final java.lang.String SCAN_REQUEST_DELAY_MILLIS
void invokeRangingCallbacks(BeaconRegion region, java.util.List<Beacon> packets)
Beacon
nearby.region
- MirrorRegion
regionpackets
- list of Beacon
objects in given region.void invokeRangingCallbacks(MirrorRegion region, java.util.List<Mirror> packets)
Mirror
nearby.region
- BeaconRegion
regionpackets
- list of Mirror
objects in given region.void invokeEnterRegionCallbacks(BeaconRegion enteredRegion, java.util.List<Beacon> packets)
void invokeEnterRegionCallbacks(MirrorRegion enteredRegion, java.util.List<Mirror> packets)
void invokeExitRegionCallbacks(BeaconRegion exitedRegion, java.util.List<Beacon> packets)
void invokeExitRegionCallbacks(MirrorRegion exitedRegion, java.util.List<Mirror> packets)
void invokeEddystoneCallbacks(java.util.List<Eddystone> eddystones)
void invokeNearableCallbacks(java.util.List<Nearable> nearables)
void invokeTelemetryCallbacks(java.util.List<EstimoteTelemetry> telemetries)
void invokeLocationCallbacks(java.util.List<EstimoteLocation> proximities)
void invokeConfigurableDevicesCallbacks(java.util.List<ConfigurableDevice> devices)
void invokeMirrorCallbacks(java.util.List<Mirror> mirrors)
void sendScanStarted()
void sendScanStopped()
void sendError(java.lang.Integer errorId)
android.os.IBinder getBinder()