Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if beacon.accuracy < 0 {
- // unknown
- }
- else if beacon.accuracy < 0.5 {
- // immediate
- }
- else if beacon.accuracy < 3.0 {
- // near
- }
- else {
- // far
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement