Stay organized with collections Save and categorize content based on your preferences.

PackageLoggingConfigurationStrategy

class PackageLoggingConfigurationStrategy : LoggingConfigurationStrategy
kotlin.Any
   ↳ com.google.android.gms.dtdi.analytics.PackageLoggingConfigurationStrategy

Direct use of PackageLoggingConfigurationStrategy is not supported.

Looks up consent using Package Configuration.

Summary

Public constructors

<init>(dtdiClient: DtdiClient, apiSurface: Int)

Direct use of PackageLoggingConfigurationStrategy is not supported.

Public methods

Task<LoggingConfiguration>

Returns a Task with LoggingConfiguration.

Companion functions

PackageLoggingConfigurationStrategy
fromContext(context: Context, apiSurface: Int)

Creates a new PackageLoggingConfigurationStrategy, constructing dependencies using Context.

Public constructors

<init>

PackageLoggingConfigurationStrategy(
    dtdiClient: DtdiClient,
    apiSurface: Int)

Direct use of PackageLoggingConfigurationStrategy is not supported.

Looks up consent using Package Configuration.

Public methods

getLoggingConfiguration

fun getLoggingConfiguration(): Task<LoggingConfiguration>

Returns a Task with LoggingConfiguration.

Companion functions

fromContext

fun fromContext(
    context: Context,
    apiSurface: Int
): PackageLoggingConfigurationStrategy

Creates a new PackageLoggingConfigurationStrategy, constructing dependencies using Context.