ClientInfo
classClientInfo
kotlin.Any | |
↳ | com.google.android.gms.dtdi.analytics.ClientInfo |
Direct use ofClientInfo
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 aClientInfofor a specific package name. |
Properties |
|
---|---|
Int |
BuildTypeof 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 ofClientInfo
is not supported.
Information about the client package that is using DTDI.
Properties
clientPackageBuildType
valclientPackageBuildType:Int
BuildTypeof the package using DTDI. Set to Int to resolve compiler issue
Companion functions
fromPackageName
funfromPackageName(
context:Context,
packageName:String?
):ClientInfo?
Builds aClientInfofor 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.