snowplow-android-tracker
5.0.0-alpha.1
snowplow-android-tracker
/
com.snowplowanalytics.core.globalcontexts
/
GlobalContextsControllerImpl
Global
Contexts
Controller
Impl
@
RestrictTo
(
value
=
RestrictTo.Scope.LIBRARY
)
open
class
GlobalContextsControllerImpl
:
Controller
,
GlobalContextsController
Constructors
Functions
Properties
Constructors
Global
Contexts
Controller
Impl
Link copied to clipboard
open
fun
GlobalContextsControllerImpl
(
@
NonNull
serviceProvider
:
ServiceProviderInterface
)
Functions
add
Link copied to clipboard
open
fun
add
(
@
NonNull
tag
:
String
,
@
NonNull
contextGenerator
:
GlobalContext
)
:
Boolean
Add a GlobalContext generator to the configuration of the tracker.
get
Tags
Link copied to clipboard
@
NonNull
open
fun
getTags
(
)
:
Set
<
String
>
remove
Link copied to clipboard
@
Nullable
open
fun
remove
(
@
NonNull
tag
:
String
)
:
GlobalContext
Remove a GlobalContext generator from the configuration of the tracker.
Properties
service
Provider
Link copied to clipboard
val
serviceProvider
:
ServiceProviderInterface