ITvInputClient.aidl revision 2b35a72a69f6fc39d21f7de9e21044d64db1380d
13957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo/*
23957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * Copyright (C) 2014 The Android Open Source Project
33957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo *
43957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * Licensed under the Apache License, Version 2.0 (the "License");
53957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * you may not use this file except in compliance with the License.
63957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * You may obtain a copy of the License at
73957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo *
83957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo *      http://www.apache.org/licenses/LICENSE-2.0
93957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo *
103957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * Unless required by applicable law or agreed to in writing, software
113957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * distributed under the License is distributed on an "AS IS" BASIS,
123957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * See the License for the specific language governing permissions and
143957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * limitations under the License.
153957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo */
163957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo
173957091ba8f08c02b5e781098cb955a5f697a1ffJae Seopackage android.tv;
183957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo
193957091ba8f08c02b5e781098cb955a5f697a1ffJae Seoimport android.content.ComponentName;
203957091ba8f08c02b5e781098cb955a5f697a1ffJae Seoimport android.tv.ITvInputSession;
216a6059a29edf31e65541b3d8927a46f5846fb0a2Jae Seoimport android.view.InputChannel;
223957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo
233957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo/**
243957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * Interface a client of the ITvInputManager implements, to identify itself and receive information
253957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * about changes to the state of each TV input service.
263957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo * @hide
273957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo */
283957091ba8f08c02b5e781098cb955a5f697a1ffJae Seooneway interface ITvInputClient {
29d6672b51c5e07ec376a61057cfbb6bb7491a76b3Sungsoo Lim    void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
30d6672b51c5e07ec376a61057cfbb6bb7491a76b3Sungsoo Lim    void onAvailabilityChanged(in String inputId, boolean isAvailable);
312b35a72a69f6fc39d21f7de9e21044d64db1380dSungsoo Lim    void onSessionReleased(int seq);
323957091ba8f08c02b5e781098cb955a5f697a1ffJae Seo}
33