public interface

AudioModeListeners

com.pspdfkit.ui.audio.AudioModeListeners
Known Indirect Subclasses

Class Overview

Interface for objects that manage a list of audio mode listener instances.

Summary

Nested Classes
interface AudioModeListeners.AudioPlaybackModeChangeListener Listener for audio playback mode changes. 
interface AudioModeListeners.AudioRecordingModeChangeListener Listener for audio recording mode changes. 
Public Methods
abstract void addAudioPlaybackModeChangeListener(AudioModeListeners.AudioPlaybackModeChangeListener listener)
Registers a AudioModeListeners.AudioPlaybackModeChangeListener to get notified when audio playback mode gets updated.
abstract void addAudioRecordingModeChangeListener(AudioModeListeners.AudioRecordingModeChangeListener listener)
Registers a AudioModeListeners.AudioRecordingModeChangeListener to get notified when audio recording mode gets updated.
abstract void removeAudioPlaybackModeChangeListener(AudioModeListeners.AudioPlaybackModeChangeListener listener)
abstract void removeAudioRecordingModeChangeListener(AudioModeListeners.AudioRecordingModeChangeListener listener)

Public Methods

public abstract void addAudioPlaybackModeChangeListener (AudioModeListeners.AudioPlaybackModeChangeListener listener)

Registers a AudioModeListeners.AudioPlaybackModeChangeListener to get notified when audio playback mode gets updated. If the provider has been registered previously, this method will be a no-op.

Parameters
listener Listener to register. Must be non-null.

public abstract void addAudioRecordingModeChangeListener (AudioModeListeners.AudioRecordingModeChangeListener listener)

Registers a AudioModeListeners.AudioRecordingModeChangeListener to get notified when audio recording mode gets updated. If the provider has been registered previously, this method will be a no-op.

Parameters
listener Listener to register. Must be non-null.

public abstract void removeAudioPlaybackModeChangeListener (AudioModeListeners.AudioPlaybackModeChangeListener listener)

Removes a previously registered AudioModeListeners.AudioPlaybackModeChangeListener. If the provider hasn't been registered previously, this method will be a no-op.

Parameters
listener Listener to unregister. Must be non-null.

public abstract void removeAudioRecordingModeChangeListener (AudioModeListeners.AudioRecordingModeChangeListener listener)

Removes a previously registered AudioModeListeners.AudioRecordingModeChangeListener. If the provider hasn't been registered previously, this method will be a no-op.

Parameters
listener Listener to unregister. Must be non-null.