Package com.irurueta.navigation.indoor
Interface RadioSource
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
RadioSourceWithPower,RadioSourceWithPowerAndLocated<P>
- All Known Implementing Classes:
Beacon,BeaconLocated,BeaconLocated2D,BeaconLocated3D,BeaconWithPower,BeaconWithPowerAndLocated,BeaconWithPowerAndLocated2D,BeaconWithPowerAndLocated3D,WifiAccessPoint,WifiAccessPointLocated,WifiAccessPointLocated2D,WifiAccessPointLocated3D,WifiAccessPointWithPower,WifiAccessPointWithPowerAndLocated,WifiAccessPointWithPowerAndLocated2D,WifiAccessPointWithPowerAndLocated3D
Interface defining any radio source (e.g. Wi-Fi access point or Bluetooth beacon).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether two radio sources are considered equal if they share the same identifiers.doubleGets frequency used by this radio source (expressed in Hz).getType()Gets radio source type, which can be either a Wi-Fi Access point or a bluetooth Beacon.
-
Method Details
-
getFrequency
double getFrequency()Gets frequency used by this radio source (expressed in Hz).- Returns:
- frequency used by this radio source (expressed in Hz).
-
equals
Checks whether two radio sources are considered equal if they share the same identifiers. -
getType
RadioSourceType getType()Gets radio source type, which can be either a Wi-Fi Access point or a bluetooth Beacon.- Returns:
- radio source type.
-