Snowplow Android Tracker 3.1.2
Public Member Functions | List of all members
com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl Class Reference
Inheritance diagram for com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl:
com.snowplowanalytics.snowplow.internal.Controller com.snowplowanalytics.snowplow.controller.GlobalContextsController com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsConfigurationInterface

Public Member Functions

 GlobalContextsControllerImpl (@NonNull ServiceProviderInterface serviceProvider)
 
Set< String > getTags ()
 
boolean add (@NonNull String tag, @NonNull GlobalContext contextGenerator)
 
GlobalContext remove (@NonNull String tag)
 
- Public Member Functions inherited from com.snowplowanalytics.snowplow.internal.Controller
 Controller (@NonNull ServiceProviderInterface serviceProvider)
 

Additional Inherited Members

- Public Attributes inherited from com.snowplowanalytics.snowplow.internal.Controller
final ServiceProviderInterface serviceProvider
 

Detailed Description

Definition at line 18 of file GlobalContextsControllerImpl.java.

Constructor & Destructor Documentation

◆ GlobalContextsControllerImpl()

com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl.GlobalContextsControllerImpl ( @NonNull ServiceProviderInterface  serviceProvider)

Definition at line 20 of file GlobalContextsControllerImpl.java.

Member Function Documentation

◆ add()

boolean com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl.add ( @NonNull String  tag,
@NonNull GlobalContext  contextGenerator 
)

Add a GlobalContext generator to the configuration of the tracker.

Parameters
tagThe label identifying the generator in the tracker.
contextGeneratorThe GlobalContext generator.
Returns
Whether the adding operation has succeeded.

Implements com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsConfigurationInterface.

Definition at line 31 of file GlobalContextsControllerImpl.java.

◆ getTags()

Set< String > com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl.getTags ( )
Returns
Set of tags associated to added GlobalContexts.

Implements com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsConfigurationInterface.

Definition at line 26 of file GlobalContextsControllerImpl.java.

◆ remove()

GlobalContext com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsControllerImpl.remove ( @NonNull String  tag)

Remove a GlobalContext generator from the configuration of the tracker.

Parameters
tagThe label identifying the generator in the tracker.
Returns
Whether the removing operation has succeded.

Implements com.snowplowanalytics.snowplow.internal.globalcontexts.GlobalContextsConfigurationInterface.

Definition at line 37 of file GlobalContextsControllerImpl.java.


The documentation for this class was generated from the following file: