Package com.blukii.sdk.info
Class InfoData
java.lang.Object
com.blukii.sdk.info.InfoData
- All Implemented Interfaces:
android.os.Parcelable
,Serializable
Read only data object for blukii output data retrieved from blukii Manager Info CMS.
It contains the results of the BlukiiInfo.getInfoData(List, BlukiiInfo.OnGetInfoDataListener)
request to the blukii Manager Info CMS(https://manager.blukii.com).
The InfoData fields contain the values of one corresponding blukii number.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the blukii Numbers of the Info.Gets the list of ids of info bundles where the Info data is member of.getId()
Gets the Info data id.getName()
Gets the identifiable name of the Info data.Gets the map of Info output data that is referenced by the output language.short
getRssi()
Gets the value of the blukii number field Visibility range.long
Gets the timestamp of last retrieve from blukii Manager.boolean
isCached()
Gets if the InfoData values has been retrieved from cache.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getId
Gets the Info data id.- Returns:
- Id
-
getBlukiiList
Gets the blukii Numbers of the Info.- Returns:
- blukii Id List
-
getBundleList
Gets the list of ids of info bundles where the Info data is member of.- Returns:
- list of info bundle ids
- See Also:
-
getOutputDataList
Gets the map of Info output data that is referenced by the output language.As map key the following output languages can be used:
BlukiiInfo.OUTPUTLANGUAGE_GERMAN
GermanBlukiiInfo.OUTPUTLANGUAGE_ENGLISH
EnglishBlukiiInfo.OUTPUTLANGUAGE_FRENCH
French
Note: This map only contains output data of languages that are configured for the Info on blukii Manager CMS.
- Returns:
- map of output data
- See Also:
-
getRssi
public short getRssi()Gets the value of the blukii number field Visibility range.This value contains a Bluetooth module defined value for the rssi range in addition to the global rssi setting (see
DiscoverySettings.getRssiThreshold()
.It does not affect the BLE scan itself but is designed for a better output handling.
- Returns:
- Value of blukii number field Visibility range
- See Also:
-
getName
Gets the identifiable name of the Info data.- Returns:
- Info data name
-
getTimeStamp
public long getTimeStamp()Gets the timestamp of last retrieve from blukii Manager.- Returns:
- Time stamp in time millis
-
isCached
public boolean isCached()Gets if the InfoData values has been retrieved from cache.- Returns:
- true, if cached
-
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
-