Package com.blukii.sdk.config.datatype
Class SmartBeaconSettings
java.lang.Object
com.blukii.sdk.config.datatype.SmartBeaconSettings
This class represents data type
SmartBeaconSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the Advertising Type.int
Gets Selected Frames.void
setSelectedAdvertisingType
(int selectedAdvertisingType) Sets the Advertising Type.void
setSelectedFrames
(int selectedFrames) Sets the Selected Frames.toString()
int
validate()
Validates the values contained in this object.
-
Constructor Details
-
SmartBeaconSettings
public SmartBeaconSettings()
-
-
Method Details
-
getSelectedFrames
public int getSelectedFrames()Gets Selected Frames.- Returns:
- the selected frames
-
setSelectedFrames
public void setSelectedFrames(int selectedFrames) Sets the Selected Frames.Values: (Bitwise Set of following constants)
SmartBeacon.SETTING_BEACON_FRAME_NONE
SmartBeacon.SETTING_BEACON_FRAME_INFOBEACON_ENVIRONMENT
SmartBeacon.SETTING_BEACON_FRAME_INFOBEACON_ACCELERATION
SmartBeacon.SETTING_BEACON_FRAME_INFOBEACON_MAGNETOMETER
SmartBeacon.SETTING_BEACON_FRAME_EDDYSTONE_UID
SmartBeacon.SETTING_BEACON_FRAME_EDDYSTONE_URL
SmartBeacon.SETTING_BEACON_FRAME_EDDYSTONE_TLM
SmartBeacon.SETTING_BEACON_FRAME_SPECIAL
SmartBeacon.SETTING_BEACON_FRAME_IBEACON
SmartBeacon.SETTING_BEACON_FRAME_EVENTBEACON_SECURE
- Parameters:
selectedFrames
- a bitwise set of selected frames
-
getSelectedAdvertisingType
public int getSelectedAdvertisingType()Gets the Advertising Type.- Returns:
- the Advertising Type
-
setSelectedAdvertisingType
public void setSelectedAdvertisingType(int selectedAdvertisingType) Sets the Advertising Type.Values:
- Parameters:
selectedAdvertisingType
- the Advertising Type
-
validate
public int validate()Validates the values contained in this object.This can be used when you create an object, to verify the values set.
- Returns:
- a state from
Validation
-
equals
-
toString
-