StartupTracingInitializer


class StartupTracingInitializer : Initializer


Enables tracing at app startup if configured prior to app starting

Summary

Public constructors

Public functions

open Unit
create(context: Context)

Initializes a library component within the application Context.

open List<Class<Initializer<*>>>

Gets a list of this initializer's dependencies.

Public constructors

StartupTracingInitializer

Added in 1.0.0
StartupTracingInitializer()

Public functions

create

Added in 1.0.0
open fun create(context: Context): Unit

Initializes a library component within the application Context.

Parameters
context: Context

The application context.

dependencies

Added in 1.0.0
open fun dependencies(): List<Class<Initializer<*>>>

Gets a list of this initializer's dependencies. Dependencies are initialized before the dependent initializer. For example, if initializer A defines initializer B as a dependency, B is initialized before A.

Returns
List<Class<Initializer<*>>>

A list of initializer dependencies.