Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
A builder for SoundProfile
Summary
Public constructors |
Copy constructor of builder.
|
Creates a new Builder.
|
Public constructors
Builder
Builder(p: SoundProfile)
Copy constructor of builder.
Builder
Builder(name: String)
Creates a new Builder.
Public methods
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-03-13 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-03-13 UTC."],[],[],null,["# SoundProfile.Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/quality/SoundProfile.Builder \"View this page in Java\") \n\n```\nclass Builder\n```\n\n|---|-------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.media.quality.SoundProfile.Builder](#) |\n\nA builder for [SoundProfile](/reference/kotlin/android/media/quality/SoundProfile)\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Builder](#Builder(android.media.quality.SoundProfile))`(`p:` `[SoundProfile](/reference/kotlin/android/media/quality/SoundProfile)`)` Copy constructor of builder. |\n| [Builder](#Builder(kotlin.String))`(`name:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Creates a new Builder. |\n\n| Public methods ||\n|----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SoundProfile](/reference/kotlin/android/media/quality/SoundProfile) | [build](#build())`()` Builds the instance. |\n| [SoundProfile.Builder](#) | [setParameters](#setParameters(android.os.PersistableBundle))`(`params:` `[PersistableBundle](../../os/PersistableBundle.html#)`)` Sets profile parameters. |\n\nPublic constructors\n-------------------\n\n### Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder(p: SoundProfile)\n```\n\nCopy constructor of builder. \n\n### Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder(name: String)\n```\n\nCreates a new Builder.\n\nPublic methods\n--------------\n\n### build\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun build(): SoundProfile\n```\n\nBuilds the instance. \n\n### setParameters\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun setParameters(params: PersistableBundle): SoundProfile.Builder\n```\n\nSets profile parameters. \n**See Also**\n\n- [android.media.quality.SoundProfile#getParameters()](/reference/kotlin/android/media/quality/SoundProfile#getParameters())"]]