Lines Matching defs:listener
166 * The listener the AudioRecord notifies when the record position reaches a marker
173 * Lock to protect position listener updates against event notifications
645 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
647 * @param listener
649 public void setRecordPositionUpdateListener(OnRecordPositionUpdateListener listener) {
650 setRecordPositionUpdateListener(listener, null);
654 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
658 * @param listener
661 public void setRecordPositionUpdateListener(OnRecordPositionUpdateListener listener,
665 mPositionListener = listener;
667 if (listener != null) {
683 * Sets the marker position at which the listener is called, if set with
696 * Sets the period at which the listener is called, if set with
718 * Called on the listener to notify it that the previously set marker has been reached
724 * Called on the listener to periodically notify it that the record head has reached
737 * Helper class to handle the forwarding of native events to the appropriate listener
751 OnRecordPositionUpdateListener listener = null;
753 listener = mAudioRecord.mPositionListener;
758 if (listener != null) {
759 listener.onMarkerReached(mAudioRecord);
763 if (listener != null) {
764 listener.onPeriodicNotification(mAudioRecord);