Package-level declarations
Types
Link copied to clipboard
Defines an action handler for BUTTON type settings.
Link copied to clipboard
Marks a field that was added in a specific version.
Link copied to clipboard
Marks an object as a setting category.
Link copied to clipboard
Marks a field that requires confirmation before reset.
Link copied to clipboard
annotation class DeprecatedSetting(val message: String = "", val removeInVersion: Int = Int.MAX_VALUE)
Marks a field that was deprecated.
Link copied to clipboard
Marks a field that should NOT be reset.
Link copied to clipboard
Link copied to clipboard
Marks a field that was renamed from a previous key.
Link copied to clipboard
annotation class RequiresConfirmation(val title: String = "Confirm Change", val message: String = "Are you sure you want to change this setting?", val titleRes: Int = 0, val messageRes: Int = 0, val confirmText: String = "Confirm", val confirmTextRes: Int = 0, val cancelText: String = "Cancel", val cancelTextRes: Int = 0, val isDangerous: Boolean = false)
Requires confirmation before changing this setting.
Link copied to clipboard
Defines schema version for a settings class.
Link copied to clipboard
Marks a property for JSON serialization.
Link copied to clipboard
Specify a custom serializer class.
Link copied to clipboard
annotation class Setting(val title: String = "", val description: String = "", val category: KClass<*>, val type: KClass<*> = Toggle::class, val key: String = "", val dependsOn: String = "", val titleRes: Int = 0, val descriptionRes: Int = 0, val min: Float = 0.0f, val max: Float = 100.0f, val step: Float = 1.0f, val options: Array<String> = [], val optionsRes: Int = 0, val platforms: Array<SettingPlatform> = [SettingPlatform.ALL])
Marks a property as a UI-visible setting.
Link copied to clipboard
interface SettingAction
Base interface for setting actions.
Link copied to clipboard
interface SettingCategoryMarker
Marker interface for category objects.
Link copied to clipboard
Target platforms for a setting.
Link copied to clipboard
Interface for custom serializers.
Link copied to clipboard
Base validator interface.
Link copied to clipboard
Custom validation using a validator class.
Link copied to clipboard