-
public final class Kaidn.Config
-
-
Field Summary
Fields Modifier and Type Field Description private final StringpublishableKeyprivate final StringbaseUrlprivate final LongcloudProjectNumberprivate final BooleanrequestIntegrity
-
Constructor Summary
Constructors Constructor Description Kaidn.Config(String publishableKey, String baseUrl, Long cloudProjectNumber, Boolean requestIntegrity)
-
Method Summary
Modifier and Type Method Description final StringgetPublishableKey()the tracker's publishable key ( pk_live_…).final StringgetBaseUrl()final LonggetCloudProjectNumber()Required only when the app is distributed outside Play. final BooleangetRequestIntegrity()set false to skip attestation entirely (it costs a network round trip) -
-
Method Detail
-
getPublishableKey
final String getPublishableKey()
the tracker's publishable key (
pk_live_…). Safe to ship in an APK.
-
getBaseUrl
final String getBaseUrl()
-
getCloudProjectNumber
final Long getCloudProjectNumber()
Required only when the app is distributed outside Play. Leave null for a Play-distributed app and Play infers it.
-
getRequestIntegrity
final Boolean getRequestIntegrity()
set false to skip attestation entirely (it costs a network round trip)
-
-
-
-