# BassBoost.Settings

Added in[API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Settings

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/media/audiofx/BassBoost.Settings "View this page in Java")  

```
open class Settings
```

|---|--------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                       ||
| ↳ | [android.media.audiofx.BassBoost.Settings](https://developer.android.com/reference/kotlin/android/media/audiofx/BassBoost.Settings#) |

The Settings class regroups all bass boost parameters. It is used in conjuntion with getProperties() and setProperties() methods to backup and restore all parameters in a single call.

## Summary

|                                                                                                                                          Public constructors                                                                                                                                           ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Settings](https://developer.android.com/reference/kotlin/android/media/audiofx/BassBoost.Settings#Settings())`()` <br />                                                                                                                                                                           |
| [Settings](https://developer.android.com/reference/kotlin/android/media/audiofx/BassBoost.Settings#Settings(kotlin.String))`(`settings:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Settings class constructor from a key=value; pairs formatted string. |

|                                                                                                 Public methods                                                                                                  ||
|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
| open[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/android/media/audiofx/BassBoost.Settings#toString())`()` <br /> |

|                                                                                                    Properties                                                                                                    ||
|--------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [strength](https://developer.android.com/reference/kotlin/android/media/audiofx/BassBoost.Settings#strength:kotlin.Short) <br /> |

## Public constructors

### Settings

Added in[API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Settings()
```  

### Settings

Added in[API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Settings(settings: String!)
```

Settings class constructor from a key=value; pairs formatted string. The string is typically returned by Settings.toString() method.

|                                   Exceptions                                    ||
|--------------------------------------|-------------------------------------------|
| `java.lang.IllegalArgumentException` | if the string is not correctly formatted. |

## Public methods

### toString

Added in[API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun toString(): String
```

|                                                          Return                                                          ||
|----------------------------------------------------------------------------------|----------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |

## Properties

### strength

Added in[API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var strength: Short
```