Skip to content

User settings

MGasztold edited this page Nov 24, 2016 · 1 revision

The application may send to the server a user information, which allows the server to filter geofences and beacons on user properties and tags.

public class ApplicationUserInformation implements UbuduUser {
    public String userId(){
        return …;
    }
    public java.util.Map<String,String> properties(){
        return …;
    }
    public java.util.Collection<String> tags(){
        return …;
    }
};
ApplicationUserInformation user=new ApplicationUserInformation(…);
UbuduSDK.getSharedInstance(context).setUserInformation(user);