blob: 4e3d0a568912f9d935a3b9b298eb4e0e25cd12bd [file] [log] [blame]
Tomasz Wasilczykf679e8b2017-09-14 09:43:35 -07001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.broadcastradio@1.2;
18
19import @1.1::ITunerCallback;
20
21interface ITunerCallback extends @1.1::ITunerCallback {
Tomasz Wasilczyk45491be2017-09-18 22:18:07 -070022 /**
23 * Generic callback for passing updates to vendor-specific parameter values.
24 * The framework does not interpret the parameters, they are passed
25 * in an opaque manner between a vendor application and HAL.
26 *
27 * It's up to the HAL implementation if and how to implement this callback,
28 * as long as it obeys the prefix rule. In particular, only selected keys
29 * may be notified this way. However, setParameters must not trigger
30 * this callback, while an internal event can change parameters
31 * asynchronously.
32 *
33 * @param parameters Vendor-specific key-value pairs.
34 */
35 oneway parametersUpdated(vec<VendorKeyValue> parameters);
Tomasz Wasilczykf679e8b2017-09-14 09:43:35 -070036};