Home | History | Annotate | Download | only in decoder

Lines Matching refs:Listener

36         TrackDecoder.Listener {
38 public interface Listener {
40 * Notifies a listener when a decoded video frame is available. The listener should use
47 * Notifies a listener when one or more audio samples are available. The listener should use
53 * Notifies a listener that decoding has started. This method is called on the decoder
59 * Notifies a listener that decoding has stopped. This method is called on the decoder
65 * Notifies a listener that an error occurred. If an error occurs, {@link MediaDecoder} is
66 * stopped and no more events are reported to this {@link Listener}'s callbacks.
85 private final Listener mListener;
114 public MediaDecoder(Context context, Uri uri, Listener listener) {
115 this(context, uri, 0, listener);
118 public MediaDecoder(Context context, Uri uri, long startMicros, Listener listener) {
134 if (listener == null) {
135 throw new NullPointerException("listener cannot be null");
137 mListener = listener;