Package es.situm.sdk.model.calibration
Class RemoteCalibration
- java.lang.Object
-
- es.situm.sdk.model.Resource
-
- es.situm.sdk.model.calibration.RemoteCalibration
-
- All Implemented Interfaces:
android.os.Parcelable
,BuildingResource
,FloorResource
,Filterable
public class RemoteCalibration extends Resource implements FloorResource, android.os.Parcelable
A remote calibration stored in the cloud. It contains the calibration metadata and its state
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteCalibration.Builder
static class
RemoteCalibration.State
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<RemoteCalibration>
CREATOR
-
Fields inherited from class es.situm.sdk.model.Resource
EMPTY_IDENTIFIER, EMPTY_IDENTIFIER_BACKWARDS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(java.lang.Object o)
java.lang.String
getBuildingIdentifier()
Return the building identifier of the resourcejava.lang.String
getFloorIdentifier()
Return the floor identifier of the resourcejava.lang.String
getName()
RemoteCalibration.State
getState()
java.lang.String
getUri()
int
hashCode()
boolean
isInvalid()
Return true if the calibration is invalidboolean
isUsed()
Return true if the calibration is used in the positioning modelboolean
isWaiting()
Return true if the calibration is in any of the waiting statesjava.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
Methods inherited from class es.situm.sdk.model.Resource
getCreatedAt, getCustomFields, getIdentifier, getUpdatedAt
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<RemoteCalibration> CREATOR
-
-
Method Detail
-
isUsed
public boolean isUsed()
Return true if the calibration is used in the positioning model
-
isWaiting
public boolean isWaiting()
Return true if the calibration is in any of the waiting states
-
isInvalid
public boolean isInvalid()
Return true if the calibration is invalid
-
getName
public java.lang.String getName()
-
getFloorIdentifier
public java.lang.String getFloorIdentifier()
Description copied from interface:FloorResource
Return the floor identifier of the resource- Specified by:
getFloorIdentifier
in interfaceFloorResource
-
getBuildingIdentifier
public java.lang.String getBuildingIdentifier()
Description copied from interface:BuildingResource
Return the building identifier of the resource- Specified by:
getBuildingIdentifier
in interfaceBuildingResource
-
getState
public RemoteCalibration.State getState()
-
getUri
public java.lang.String getUri()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-