ClientInfo

classClientInfo
kotlin.Any
com.google.android.gms.dtdi.analytics.ClientInfo

Direct use ofClientInfois 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 ofClientInfois not supported.

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 ofClientInfois 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

clientPackageName

valclientPackageName:String

Name of the package using DTDI.

clientPackageVersion

valclientPackageVersion:String

Version of the package using DTDI.

dtdiSdkVersionCode

valdtdiSdkVersionCode:String

Version code of the DTDI SDK.

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 callingPackageand not the package name of GMS Core.