Package com.blukii.sdk.discovery
Class IBeaconData
java.lang.Object
com.blukii.sdk.discovery.IBeaconData
- All Implemented Interfaces:
android.os.Parcelable
Read only data object for iBeacon data that is emitted by beacons
See iBeacon specification at https://developer.apple.com/ibeacon
IBeaconData values are part of DiscoveryData
.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getMajor()
Gets the Major ID if the beacon is emitting iBeacon.short
Gets the Measured Power RSSI value if the beacon is emitting iBeacon.int
getMinor()
Gets the Minor ID if the beacon is emitting iBeacon.getUuid()
Gets the UUID if the beacon is emitting iBeacon.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getUuid
Gets the UUID if the beacon is emitting iBeacon.- Returns:
- UUID
-
getMajor
public int getMajor()Gets the Major ID if the beacon is emitting iBeacon.- Returns:
- Major ID
-
getMinor
public int getMinor()Gets the Minor ID if the beacon is emitting iBeacon.- Returns:
- Minor ID
-
getMeasuredPower
public short getMeasuredPower()Gets the Measured Power RSSI value if the beacon is emitting iBeacon.It stands for the measured RSSI value when the distance between the beacon and the mobile device is 1 meter.
- Returns:
- Measured Power RSSI, Short.MIN_VALUE if it is not supported
-
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
-