# Virtualizer.Settings

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

# Settings

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/media/audiofx/Virtualizer.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.Virtualizer.Settings](https://developer.android.com/reference/kotlin/android/media/audiofx/Virtualizer.Settings#) |

*** ** * ** ***

| **This class was deprecated in API level 35.**
|
| Deprecated in Java.

The Settings class regroups all virtualizer 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/Virtualizer.Settings#Settings())`()` <br />                                                                                                                                                                           |
| [Settings](https://developer.android.com/reference/kotlin/android/media/audiofx/Virtualizer.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/Virtualizer.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/Virtualizer.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
```

**Deprecated:** *Deprecated in Java.*

|                                                          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
```

**Deprecated:** *Deprecated in Java.*