Package 

Class VisitorInfoUpdateRequest.Builder


  • 
    public class VisitorInfoUpdateRequest.Builder
    
                        

    Used for creating the VisitorInfoUpdateRequest.

    If some visitor information is not set or is {@code null} then it will not be updated on the server.Usage example:

    LinkedTreeMapcustomAttributes = new LinkedTreeMap<>();
        customAttributes.put("age", "21+");
        customAttributes.put("custom_id", "H5AC76");
    
        Glia.updateVisitorInfo(
            new VisitorInfoUpdateRequest.Builder()
                .setName("Mr. Example Man")
                .setEmail("mr.example.man@email.com")
                .setCustomAttributes(customAttributes)
                .build(),
            error -> { /* Handle callback */ }
       );