Where is the function "getAttachement() defined. Or what do I need to import for the function.
This is related to the following code:
.onContextChange(new Function1<Set<? extends ProximityZoneContext>, Unit>() {
@Override
public Unit invoke(Set<? extends ProximityZoneContext> contexts) {
List<String> deskOwners = new ArrayList<>();
for (ProximityZoneContext context : contexts) {
deskOwners.add(context.**getAttachment()**.get("desk-owner"));
}
Log.d("app", "In range of desks: " + deskOwners);
return null;