public class StatusInformation
extends java.lang.Object
Constructor and Description |
---|
StatusInformation(boolean requestingLocationUpdates,
int numberOfLocationInformationSent,
int numberOfLocationInformationStored,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Funció que torna la informació addicional
|
int |
getNumberOfLocationInformationSent()
Funció que torna el nombre de posicions enviades al servidor GIS
|
int |
getNumberOfLocationInformationStored()
Funció que torna el nombre de posicions emmagatzemades
|
boolean |
isRequestingLocationUpdates()
Funció que torna si s'estą capturant posicions
|
void |
setMessage(java.lang.String message)
Funció per fixar la informació addicional
|
void |
setNumberOfLocationInformationSent(int numberOfLocationInformationSent)
Funció per fixar el nombre de posicions enviades al servidor GIS
|
void |
setNumberOfLocationInformationStored(int numberOfLocationInformationStored)
Funció per fixar el nombre de posicions emmagatzemades
|
void |
setRequestingLocationUpdates(boolean requestingLocationUpdates)
Funció per fixar si s'estan capturant posicions
|
public StatusInformation(boolean requestingLocationUpdates, int numberOfLocationInformationSent, int numberOfLocationInformationStored, java.lang.String message)
requestingLocationUpdates
- booleą per indicar que el sistema estą capturant posicionsnumberOfLocationInformationSent
- enter per indicar el nombre de posicions enviades al servidor GISnumberOfLocationInformationStored
- enter per indicar el nombre de posicions emmagatzemadesmessage
- String per contenir informació addicionalpublic boolean isRequestingLocationUpdates()
public void setRequestingLocationUpdates(boolean requestingLocationUpdates)
requestingLocationUpdates
- booleą per indicar si s'estan capturant posicions (true) o no (false)public int getNumberOfLocationInformationSent()
public void setNumberOfLocationInformationSent(int numberOfLocationInformationSent)
numberOfLocationInformationSent
- nombre de posicionspublic int getNumberOfLocationInformationStored()
public void setNumberOfLocationInformationStored(int numberOfLocationInformationStored)
numberOfLocationInformationStored
- nombre de posicionspublic java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- informació addicional