DefineClassOptions
10/22/22Less than 1 minute
globals DefineClassOptions
Optional tuning for $java.defineClass: DEX cache path, generated package name, and extra Java interfaces to implement.
Table of contents
Properties
Properties
cacheDexFile
cacheDexFile?:string
Filesystem path for the generated DEX cache. Useful when you want stable output outside the default .codecache directory.
implements
implements?:any[]
Additional Java interfaces the generated class should implement, e.g. [View.OnClickListener, View.OnLongClickListener]. Defaults to an empty list.
packageName
packageName?:string
Java package name for the emitted class. Leave empty to let the runtime pick a default.
