AudioMixerAttributes.Builder
  public
  static
  final
  
  class
  AudioMixerAttributes.Builder
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| โณ | android.media.AudioMixerAttributes.Builder | 
Builder class for AudioMixerAttributes objects.
Summary
| Public constructors | |
|---|---|
| 
      Builder(AudioFormat format)
      Constructs a new Builder with the defaults. | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        AudioMixerAttributes | 
      build()
      Combines all attributes that have been set and returns a new  | 
| 
        
        
        
        
        
        AudioMixerAttributes.Builder | 
      setMixerBehavior(int mixerBehavior)
      Sets the mixer behavior for the audio mixer | 
| Inherited methods | |
|---|---|
Public constructors
Builder
public Builder (AudioFormat format)
Constructs a new Builder with the defaults.
| Parameters | |
|---|---|
| format | AudioFormat: theAudioFormatfor the audio mixer.
 This value cannot benull. | 
Public methods
build
public AudioMixerAttributes build ()
Combines all attributes that have been set and returns a new AudioMixerAttributes
 object.
| Returns | |
|---|---|
| AudioMixerAttributes | a new AudioMixerAttributesobject
 This value cannot benull. | 
setMixerBehavior
public AudioMixerAttributes.Builder setMixerBehavior (int mixerBehavior)
Sets the mixer behavior for the audio mixer
| Parameters | |
|---|---|
| mixerBehavior | int: must beAudioMixerAttributes.MIXER_BEHAVIOR_DEFAULTorAudioMixerAttributes.MIXER_BEHAVIOR_BIT_PERFECT.
 Value isAudioMixerAttributes.MIXER_BEHAVIOR_DEFAULT, orAudioMixerAttributes.MIXER_BEHAVIOR_BIT_PERFECT | 
| Returns | |
|---|---|
| AudioMixerAttributes.Builder | the same Builder instance.
 This value cannot be null. | 
