setDependency
Sets the key of a preference that this preference will depend on. If that preference is not set or is off, this preference will be disabled.
Parameters
dependencyKey
The key of the preference that this depends on
Sets the key of a preference that this preference will depend on. If that preference is not set or is off, this preference will be disabled.
The key of the preference that this depends on