shouldCollect

fun shouldCollect(context: Context, config: CoreConfiguration, collect: ReportField, reportBuilder: ReportBuilder): Boolean

this should check if the config contains the field, but may add additional checks like permissions etc.

Return

if this field should be collected now

Parameters

context

a context

config

current configuration

collect

the field to collect

reportBuilder

the current reportBuilder