InstrumentationContext

Added in 4.2.0

interface InstrumentationContext : Serializable


Instrumentation context data that will be injected to AsmClassVisitorFactory on instantiation.

Summary

Public properties

Property<Int>

The asm api version to be passed to the ClassVisitor constructor.

Public properties

apiVersion

Added in 4.2.0
val apiVersionProperty<Int>

The asm api version to be passed to the ClassVisitor constructor.

| AGP version | Corresponding ASM version |
|-------------|---------------------------|
| 4.2.0 - 7.0 | ASM7 |
| 7.1.0+ | ASM9 |