public void setUserAgent ( String agent , String agentVersion ) { userAgent = String . format ( "Algolia for Java (%s); JVM (%s); %s (%s)" , version , System . getProperty ( "java.version" ) , agent , agentVersion ) ; }
Allow to modify the user - agent in order to add the user agent of the integration