-
public final class CredentialsProvides the credentials and identifying information for all the data tracked with the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCredentials.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringclientTokenprivate final StringenvNameprivate final Stringvariantprivate final StringrumApplicationIdprivate final StringserviceName
-
Method Summary
Modifier and Type Method Description final StringgetClientToken()final StringgetEnvName()final StringgetVariant()final StringgetRumApplicationId()final StringgetServiceName()-
-
Constructor Detail
-
Credentials
Credentials(String clientToken, String envName, String variant, String rumApplicationId, String serviceName)
- Parameters:
clientToken- your API key of type Client TokenenvName- the environment name that will be sent with each event.variant- the variant of your application, which should be the value from yourBuildConfig.FLAVORconstant if you have different flavors, NO_VARIANT otherwise.rumApplicationId- your applicationId for RUM eventsserviceName- the service name (if set to null, it'll be set to your application's package name, e.g.: com.example.
-
-
Method Detail
-
getClientToken
final String getClientToken()
-
getEnvName
final String getEnvName()
-
getVariant
final String getVariant()
-
getRumApplicationId
final String getRumApplicationId()
-
getServiceName
final String getServiceName()
-
-
-
-