Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. if beacon.accuracy < 0 {
  2. // unknown
  3. }
  4. else if beacon.accuracy < 0.5 {
  5. // immediate
  6. }
  7. else if beacon.accuracy < 3.0 {
  8. // near
  9. }
  10. else {
  11. // far
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement