ClientInfo
class ClientInfo
kotlin.Any | |
↳ | com.google.android.gms.dtdi.analytics.ClientInfo |
Direct use of ClientInfo
is not supported.
Information about the client package that is using DTDI.
Summary
Public constructors |
|
---|---|
<init>(clientPackageName: String, clientPackageVersion: String, clientPackageBuildType: Int, dtdiSdkVersionCode: String) Direct use of |
Companion functions |
|
---|---|
ClientInfo? |
fromPackageName(context: Context, packageName: String?) Builds a ClientInfo for a specific package name. |
Properties |
|
---|---|
Int |
BuildType of the package using DTDI. |
String |
Name of the package using DTDI. |
String |
Version of the package using DTDI. |
String |
Version code of the DTDI SDK. |
Public constructors
<init>
ClientInfo(
clientPackageName: String,
clientPackageVersion: String,
clientPackageBuildType: Int,
dtdiSdkVersionCode: String)
Direct use of ClientInfo
is not supported.
Information about the client package that is using DTDI.
Properties
clientPackageBuildType
val clientPackageBuildType: Int
BuildType of the package using DTDI. Set to Int to resolve compiler issue
Companion functions
fromPackageName
fun fromPackageName(
context: Context,
packageName: String?
): ClientInfo?
Builds a ClientInfo for a specific package name. Within an SDK, the packageName is the
packageName of the application using the SDK. Within GMS core the packageName is the
callingPackage
and not the package name of GMS Core.