Package com.launchdarkly.sdk.android.env
Class EnvironmentReporterBuilder
- java.lang.Object
-
- com.launchdarkly.sdk.android.env.EnvironmentReporterBuilder
-
public class EnvironmentReporterBuilder extends java.lang.Object
Builder for making anIEnvironmentReporter
with various options.
-
-
Constructor Summary
Constructors Constructor Description EnvironmentReporterBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEnvironmentReporter
build()
void
enableCollectionFromPlatform(android.app.Application application)
Enables automatically collecting attributes from the platform.void
setApplicationInfo(ApplicationInfo applicationInfo)
Sets the application info that this environment reporter will report when asked in the future, overriding the automatically sourcedApplicationInfo
-
-
-
Method Detail
-
setApplicationInfo
public void setApplicationInfo(ApplicationInfo applicationInfo)
Sets the application info that this environment reporter will report when asked in the future, overriding the automatically sourcedApplicationInfo
- Parameters:
applicationInfo
- to report.
-
enableCollectionFromPlatform
public void enableCollectionFromPlatform(android.app.Application application)
Enables automatically collecting attributes from the platform.- Parameters:
application
- reference for platform calls
-
build
public IEnvironmentReporter build()
-
-