Created
June 23, 2020 20:32
-
-
Save agap/442e009762883e950143f389dc7d88e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val region = Region.Builder() | |
.setNullField() | |
.setUuidField(UUID.fromString("01234567-0123-4567-89AB-456789ABCDEF")) | |
.setIntegerField(154) | |
.setIntegerField(10122) | |
.build() | |
val beaconScanner = BeaconScanner.Builder(this) | |
.setRegions(listOf(region)) | |
.setBeaconBatchListener { beacons: Collection<Beacon> -> | |
// do something with your beacons here | |
} | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment