Stay organized with collections
Save and categorize content based on your preferences.
Settings
open class Settings
The Settings class regroups all environmental reverb 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 class constructor from a key=value; pairs formatted string.
|
Public constructors
Settings
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
open fun toString(): String
Return |
String |
a string representation of the object. |
Properties
decayHFRatio
var decayHFRatio: Short
decayTime
var decayTime: Int
density
var density: Short
diffusion
var diffusion: Short
reflectionsDelay
var reflectionsDelay: Int
reflectionsLevel
var reflectionsLevel: Short
reverbDelay
var reverbDelay: Int
reverbLevel
var reverbLevel: Short
roomHFLevel
var roomHFLevel: Short
roomLevel
var roomLevel: Short
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# EnvironmentalReverb.Settings\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSettings\n========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/audiofx/EnvironmentalReverb.Settings \"View this page in Java\") \n\n```\nopen class Settings\n```\n\n|---|---------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.media.audiofx.EnvironmentalReverb.Settings](#) |\n\nThe Settings class regroups all environmental reverb parameters. It is used in conjuntion with getProperties() and setProperties() methods to backup and restore all parameters in a single call.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Settings](#Settings())`()` \u003cbr /\u003e |\n| [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. |\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](#toString())`()` \u003cbr /\u003e |\n\n| Properties ||\n|--------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [decayHFRatio](#decayHFRatio:kotlin.Short) \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [decayTime](#decayTime:kotlin.Int) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [density](#density:kotlin.Short) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [diffusion](#diffusion:kotlin.Short) \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [reflectionsDelay](#reflectionsDelay:kotlin.Int) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [reflectionsLevel](#reflectionsLevel:kotlin.Short) \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [reverbDelay](#reverbDelay:kotlin.Int) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [reverbLevel](#reverbLevel:kotlin.Short) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [roomHFLevel](#roomHFLevel:kotlin.Short) \u003cbr /\u003e |\n| [Short](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html) | [roomLevel](#roomLevel:kotlin.Short) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### Settings\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nSettings()\n``` \n\n### Settings\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nSettings(settings: String!)\n```\n\nSettings class constructor from a key=value; pairs formatted string. The string is typically returned by Settings.toString() method.\n\n| Exceptions ||\n|--------------------------------------|-------------------------------------------|\n| `java.lang.IllegalArgumentException` | if the string is not correctly formatted. |\n\nPublic methods\n--------------\n\n### toString\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun toString(): String\n```\n\n| Return ||\n|----------------------------------------------------------------------------------|----------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |\n\nProperties\n----------\n\n### decayHFRatio\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar decayHFRatio: Short\n``` \n\n### decayTime\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar decayTime: Int\n``` \n\n### density\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar density: Short\n``` \n\n### diffusion\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar diffusion: Short\n``` \n\n### reflectionsDelay\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar reflectionsDelay: Int\n``` \n\n### reflectionsLevel\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar reflectionsLevel: Short\n``` \n\n### reverbDelay\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar reverbDelay: Int\n``` \n\n### reverbLevel\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar reverbLevel: Short\n``` \n\n### roomHFLevel\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar roomHFLevel: Short\n``` \n\n### roomLevel\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar roomLevel: Short\n```"]]