SoundProfile.Builder


public static final class SoundProfile.Builder
extends Object

java.lang.Object
   ↳ android.media.quality.SoundProfile.Builder


A builder for SoundProfile

Summary

Public constructors

Builder(SoundProfile p)

Copy constructor of builder.

Builder(String name)

Creates a new Builder.

Public methods

SoundProfile build()

Builds the instance.

SoundProfile.Builder setParameters(PersistableBundle params)

Sets profile parameters.

Inherited methods

Public constructors

Builder

Added in API level 36
public Builder (SoundProfile p)

Copy constructor of builder.

Parameters
p SoundProfile

Builder

Added in API level 36
public Builder (String name)

Creates a new Builder.

Parameters
name String

Public methods

build

Added in API level 36
public SoundProfile build ()

Builds the instance.

Returns
SoundProfile

setParameters

Added in API level 36
public SoundProfile.Builder setParameters (PersistableBundle params)

Sets profile parameters.

Parameters
params PersistableBundle

Returns
SoundProfile.Builder