Klasse SpecialEvent

java.lang.Object
com.blukii.sdk.discovery.SpecialEvent
Alle implementierten Schnittstellen:
android.os.Parcelable

public class SpecialEvent extends Object implements android.os.Parcelable
Read only data object for special event data that is emitted by blukii beacons

SpecialEvent values are part of DiscoveryData.

Siehe auch:
  • Felddetails

    • CREATOR

      public static final android.os.Parcelable.Creator<SpecialEvent> CREATOR
  • Methodendetails

    • getVersion

      public int getVersion()
      Gets the protocol version.
      Gibt zurück:
      the protocol version
    • getMode

      public int getMode()
      Gets the special event operating mode. Supported values:
      • 2: Tilt Motion
      • 3: Button Click
      Gibt zurück:
      the special event operating mode
    • getTiltMotionCount

      public int getTiltMotionCount()
      Gets the tilt motion count.
      Gibt zurück:
      the tilt motion count
    • getDuration

      public float getDuration()
      Gets the last event duration in seconds.
      Gibt zurück:
      the event duration
    • getButtonClickCount

      public int getButtonClickCount()
      Gets the button click count.
      Gibt zurück:
      the button click count
    • getAverageAngle

      public int getAverageAngle()
      Gets the average angle of the motion.
      Gibt zurück:
      the average angle
    • getResetCounter

      public int getResetCounter()
      Gets the beacons reset counter.
      Gibt zurück:
      the reset counter
    • getFlags

      public byte getFlags()
      Gets the last event flags.
      Gibt zurück:
      the event flags
    • describeContents

      public int describeContents()
      Angegeben von:
      describeContents in Schnittstelle android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int i)
      Angegeben von:
      writeToParcel in Schnittstelle android.os.Parcelable
    • getTiltMotionCount2

      public int getTiltMotionCount2()
    • setTiltMotionCount2

      public void setTiltMotionCount2(int tiltMotionCount2)
    • getDuration2

      public float getDuration2()
    • setDuration2

      public void setDuration2(float duration2)
    • getAverageAngle2

      public int getAverageAngle2()
    • setAverageAngle2

      public void setAverageAngle2(int averageAngle2)
    • getFlags2

      public byte getFlags2()
    • setFlags2

      public void setFlags2(byte flags2)
    • getTiltMotionCount3

      public int getTiltMotionCount3()
    • setTiltMotionCount3

      public void setTiltMotionCount3(int tiltMotionCount3)
    • getDuration3

      public float getDuration3()
    • setDuration3

      public void setDuration3(float duration3)
    • getAverageAngle3

      public int getAverageAngle3()
    • setAverageAngle3

      public void setAverageAngle3(int averageAngle3)
    • getFlags3

      public byte getFlags3()
    • setFlags3

      public void setFlags3(byte flags3)