18b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim/*
2816a4be1a0f34f6a48877c8afd3dbbca19eac435Nick Chalko * Copyright (C) 2015 The Android Open Source Project
38b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim *
48b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * Licensed under the Apache License, Version 2.0 (the "License");
58b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * you may not use this file except in compliance with the License.
68b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * You may obtain a copy of the License at
78b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim *
88b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim *      http://www.apache.org/licenses/LICENSE-2.0
98b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim *
108b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * Unless required by applicable law or agreed to in writing, software
118b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * distributed under the License is distributed on an "AS IS" BASIS,
128b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * See the License for the specific language governing permissions and
148b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim * limitations under the License.
158b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim */
168b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim
177d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalkopackage com.android.tv.common.ui.setup;
188b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim
197d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko/**
207d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko * A listener for the action click.
217d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko */
227d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalkopublic interface OnActionClickListener {
237d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko    /**
247d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko     * Called when the action is clicked.
257d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko     *
26ba5845f23b8fbc985890f892961abc8b39886611Nick Chalko     * @param category action category.
277d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko     * @param id action id.
287d67089aa1e9aa2123c3cd2f386d7019a1544db1Nick Chalko     */
29ba5845f23b8fbc985890f892961abc8b39886611Nick Chalko    void onActionClick(String category, int id);
308b9c05e03856c6a7c6ebf9e12820472cd1dacb28Sungsoo Lim}
31