public class BeaconService
extends Service
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_COULD_NOT_START_LOW_ENERGY_SCANNING |
static int |
MSG_ERROR_RESPONSE |
static int |
MSG_MONITORING_RESPONSE |
static int |
MSG_RANGING_RESPONSE |
static int |
MSG_REGISTER_ERROR_LISTENER |
static int |
MSG_SET_BACKGROUND_SCAN_PERIOD |
static int |
MSG_SET_FOREGROUND_SCAN_PERIOD |
static int |
MSG_START_MONITORING |
static int |
MSG_START_RANGING |
static int |
MSG_STOP_MONITORING |
static int |
MSG_STOP_RANGING |
Constructor and Description |
---|
BeaconService() |
Modifier and Type | Method and Description |
---|---|
IBinder |
onBind(Intent intent) |
void |
onCreate() |
void |
onDestroy() |
void |
startMonitoring(com.jaalee.sdk.service.MonitoringRegion monitoringRegion) |
void |
stopMonitoring(java.lang.String regionId) |
public static final int MSG_START_RANGING
public static final int MSG_STOP_RANGING
public static final int MSG_RANGING_RESPONSE
public static final int MSG_START_MONITORING
public static final int MSG_STOP_MONITORING
public static final int MSG_MONITORING_RESPONSE
public static final int MSG_REGISTER_ERROR_LISTENER
public static final int MSG_ERROR_RESPONSE
public static final int MSG_SET_FOREGROUND_SCAN_PERIOD
public static final int MSG_SET_BACKGROUND_SCAN_PERIOD
public static final int ERROR_COULD_NOT_START_LOW_ENERGY_SCANNING