Class InfoData

java.lang.Object
com.blukii.sdk.info.InfoData
All Implemented Interfaces:
android.os.Parcelable, Serializable

public final class InfoData extends Object implements 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.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final android.os.Parcelable.Creator<InfoData>
     

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Gets the blukii Numbers of the Info.
    Gets the list of ids of info bundles where the Info data is member of.
    Gets the Info data id.
    Gets the identifiable name of the Info data.
    Gets the map of Info output data that is referenced by the output language.
    short
    Gets the value of the blukii number field Visibility range.
    long
    Gets the timestamp of last retrieve from blukii Manager.
    boolean
    Gets if the InfoData values has been retrieved from cache.
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<InfoData> CREATOR
  • Method Details

    • getId

      public String getId()
      Gets the Info data id.
      Returns:
      Id
    • getBlukiiList

      public List<String> getBlukiiList()
      Gets the blukii Numbers of the Info.
      Returns:
      blukii Id List
    • getBundleList

      public List<String> 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

      public Map<String,InfoOutputData> 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:

      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

      public String 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 interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable