public interface RequestProvider
This interface helps creating the GA request in lazily inside the async thread
so the cost of constructing the Request is not part of user related thread or
cost is completely avoided if GA is disabled (via GoogleAnalyticsConfig.setEnabled
)
Modifier and Type | Method and Description |
---|---|
GoogleAnalyticsRequest |
getRequest()
Constructs and returns the request, that should be sent to GA.
|
GoogleAnalyticsRequest getRequest()
null
and if so,
nothing will be sent to GA.