algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java
public void addUserAgent(@NonNull LibraryVersion userAgent) {
        if (!userAgents.contains(userAgent)) {
            userAgents.add(userAgent);
        }
        updateUserAgents();
    }
public void addUserAgent(@NonNull LibraryVersion userAgent) {
        if (!userAgents.contains(userAgent)) {
            userAgents.add(userAgent);
        }
        updateUserAgents();
    }
Add a software library to the list of user agents.

@param userAgent The library to add.