Package 

Class NativeAudioPlayer

  • All Implemented Interfaces:
    com.getstream.sdk.chat.utils.exomedia.core.api.AudioPlayerApi

    
    public class NativeAudioPlayer
     implements AudioPlayerApi
                        

    A simple MediaPlayer implementation that extends the one provided by the system to add integration with the ListenerMux and to mitigate state errors.

    NOTE: The listenerMux shouldn't be null when any method utilizing it is called, however there are some cases on Amazon devices where they incorrectly call these methods when setting up the MediaPlayer (when in IDLE state)