with Exclude Matching Settings Keys
fun withExcludeMatchingSettingsKeys(vararg excludeMatchingSettingsKeys: String): CoreConfigurationBuilder
Content copied to clipboard
Provide here regex patterns to be evaluated on each {@link android.provider.Settings.System}, {@link android.provider.Settings.Secure} and {@link android.provider.Settings.Global} key to exclude KV pairs from being collected. This allows you to exclude sensitive data from being collected.
If you only want to include some keys, you may use regular expressions to do so:
only keys foo and bar | "^(?!foo|bar).*$" |
only keys containing foo and bar | "^((?!foo|bar).)*$" |
Return
this instance
Parameters
excludeMatchingSettingsKeys
regex patterns, every matching key is not collected.