1185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel/*
2185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * Copyright (C) 2011 The Android Open Source Project
3185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel *
4185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * Licensed under the Apache License, Version 2.0 (the "License");
5185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * you may not use this file except in compliance with the License.
6185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * You may obtain a copy of the License at
7185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel *
8185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel *      http://www.apache.org/licenses/LICENSE-2.0
9185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel *
10185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * Unless required by applicable law or agreed to in writing, software
11185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * distributed under the License is distributed on an "AS IS" BASIS,
12185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * See the License for the specific language governing permissions and
14185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * limitations under the License.
15185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel */
16185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel
17185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel
18185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Rousselpackage android.media.effect;
19185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel
20185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel/**
21185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * Some effects may issue callbacks to inform the host of changes to the effect state. This is the
22185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel * listener interface for receiving those callbacks.
23185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Roussel */
24185a7e38bc58abd341445ef9acdec9a4722a6946Yohann Rousselpublic interface EffectUpdateListener {
25
26    /**
27     * Called when the effect state is updated.
28     *
29     * @param effect The effect that has been updated.
30     * @param info A value that gives more information about the update. See the effect's
31     *             documentation for more details on what this object is.
32     */
33    public void onEffectUpdated(Effect effect, Object info);
34
35}
36
37