public interface

IMediaPlayerFactory

implements IReleasable
com.h6ah4i.android.media.IMediaPlayerFactory
Known Indirect Subclasses

Summary

Public Methods
abstract IBassBoost createBassBoost(IBasicMediaPlayer player)
Create BassBoost object
abstract IBassBoost createBassBoost(int audioSession)
Create BassBoost object
abstract IEnvironmentalReverb createEnvironmentalReverb()
Create EnvironmentalReverb object
abstract IEqualizer createEqualizer(int audioSession)
Create Equalizer object
abstract IEqualizer createEqualizer(IBasicMediaPlayer player)
Create Equalizer object
abstract IEqualizer createHQEqualizer()
Create HQEqualizer object
abstract IHQVisualizer createHQVisualizer()
Create HQVisualizer object
abstract ILoudnessEnhancer createLoudnessEnhancer(int audioSession)
Create LoudnessEnhancer object
abstract ILoudnessEnhancer createLoudnessEnhancer(IBasicMediaPlayer player)
Create LoudnessEnhancer object
abstract IBasicMediaPlayer createMediaPlayer()
Create BasicMediaPlayer object
abstract IPreAmp createPreAmp()
Create PreAmp object
abstract IPresetReverb createPresetReverb()
Create PresetReverb object
abstract IVirtualizer createVirtualizer(int audioSession)
Create Virtualizer object
abstract IVirtualizer createVirtualizer(IBasicMediaPlayer player)
Create Virtualizer object
abstract IVisualizer createVisualizer(IBasicMediaPlayer player)
Create Visualizer object
abstract IVisualizer createVisualizer(int audioSession)
Create Visualizer object
abstract void release()
Release associated resources.
[Expand]
Inherited Methods
From interface com.h6ah4i.android.media.IReleasable

Public Methods

public abstract IBassBoost createBassBoost (IBasicMediaPlayer player)

Create BassBoost object

Parameters
player the BasicMediaPlayer instance to attached the BassBoost effect.
Returns
  • BassBoost object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IBassBoost createBassBoost (int audioSession)

Create BassBoost object

Parameters
audioSession system wide unique audio session identifier.
Returns
  • BassBoost object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IEnvironmentalReverb createEnvironmentalReverb ()

Create EnvironmentalReverb object

Returns
  • EnvironmentalReverb object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IEqualizer createEqualizer (int audioSession)

Create Equalizer object

Parameters
audioSession system wide unique audio session identifier.
Returns
  • Equalizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IEqualizer createEqualizer (IBasicMediaPlayer player)

Create Equalizer object

Parameters
player the BasicMediaPlayer instance to attached the Equalizer effect.
Returns
  • Equalizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IEqualizer createHQEqualizer ()

Create HQEqualizer object

Returns
  • HQEqualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IHQVisualizer createHQVisualizer ()

Create HQVisualizer object

Returns
  • HQVisualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract ILoudnessEnhancer createLoudnessEnhancer (int audioSession)

Create LoudnessEnhancer object

Parameters
audioSession system wide unique audio session identifier.
Returns
  • LoudnessEnhancer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract ILoudnessEnhancer createLoudnessEnhancer (IBasicMediaPlayer player)

Create LoudnessEnhancer object

Parameters
player the BasicMediaPlayer instance to attached the LoudnessEnhancer effect.
Returns
  • LoudnessEnhancer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IBasicMediaPlayer createMediaPlayer ()

Create BasicMediaPlayer object

Returns
  • BasicMediaPlayer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IPreAmp createPreAmp ()

Create PreAmp object

Returns
  • PreAmp object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IPresetReverb createPresetReverb ()

Create PresetReverb object

Returns
  • PresetReverb object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IVirtualizer createVirtualizer (int audioSession)

Create Virtualizer object

Parameters
audioSession system wide unique audio session identifier.
Returns
  • Virtualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IVirtualizer createVirtualizer (IBasicMediaPlayer player)

Create Virtualizer object

Parameters
player the BasicMediaPlayer instance to attached the Virtualizer effect.
Returns
  • Virtualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IVisualizer createVisualizer (IBasicMediaPlayer player)

Create Visualizer object

Parameters
player the BasicMediaPlayer instance to attached the Visualizer effect.
Returns
  • Visualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract IVisualizer createVisualizer (int audioSession)

Create Visualizer object

Parameters
audioSession system wide unique audio session identifier.
Returns
  • Visualizer object
Throws
IllegalArgumentException
IllegalStateException
UnsupportedOperationException

public abstract void release ()

Release associated resources.

Throws
IllegalStateException
UnsupportedOperationException