excludeMatchingSharedPreferencesKeys

abstract fun excludeMatchingSharedPreferencesKeys(): Array<String>

Provide here regex patterns to be evaluated on each android.content.SharedPreferences key to exclude KV pairs from the collected SharedPreferences.This allows you to exclude sensitive user data like passwords 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

regex patterns, every matching key is not collected.