ProximityRegion

open class ProximityRegion

A ProximityRegion defines a proximity region with an identifier, major, minor and optional latitude, longitude and RSSI.

Constructors

Link copied to clipboard
constructor(@NonNull proximityId: String, @IntRange(from = 0, to = 65535) major: Int, @IntRange(from = 0, to = 65535) minor: Int)
Constructor for creating proximity region.

Properties

Link copied to clipboard
open val latitude: Double
The proximity region's latitude in degrees.
Link copied to clipboard
open val longitude: Double
The proximity region's longitude in degrees.
Link copied to clipboard
val major: Int
The proximity region's major.
Link copied to clipboard
val minor: Int
The proximity region's minor.
Link copied to clipboard
The proximity region's identifier.
Link copied to clipboard
open var rssi: Integer
The proximity region's received signal strength indication in dBm.

Functions

Link copied to clipboard
open fun isValid(): Boolean
Validates the proximity region object.
Link copied to clipboard
Sets the proximity region's latitude and longitude.