Package com.blukii.sdk.discovery
Klasse SpecialEvent
java.lang.Object
com.blukii.sdk.discovery.SpecialEvent
- Alle implementierten Schnittstellen:
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:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen android.os.Parcelable
android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T> -
Feldübersicht
FelderVon Schnittstelle geerbte Felder android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintintGets the average angle of the motion.intintintGets the button click count.floatGets the last event duration in seconds.floatfloatbytegetFlags()Gets the last event flags.bytebyteintgetMode()Gets the special event operating mode.intGets the beacons reset counter.intGets the tilt motion count.intintintGets the protocol version.voidsetAverageAngle2(int averageAngle2) voidsetAverageAngle3(int averageAngle3) voidsetDuration2(float duration2) voidsetDuration3(float duration3) voidsetFlags2(byte flags2) voidsetFlags3(byte flags3) voidsetTiltMotionCount2(int tiltMotionCount2) voidsetTiltMotionCount3(int tiltMotionCount3) voidwriteToParcel(android.os.Parcel dest, int i)
-
Felddetails
-
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:
describeContentsin Schnittstelleandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int i) - Angegeben von:
writeToParcelin Schnittstelleandroid.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)
-