diff options
author | Asaf Rosenfeld <asafro@google.com> | 2017-03-21 22:55:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-03-21 22:55:48 +0000 |
commit | 0cad3236e5f46abeb211cca11b5ba3f68f679d6a (patch) | |
tree | dbc333d32353ed022855703baba5a13f2ce950ea /car-lib/src/android/car/vms/IVmsSubscriberClient.aidl | |
parent | 802521cdc337d2c02d0622f210ff09512e93a7a3 (diff) | |
parent | 2ca6f8cd2347a6649308a566bbba4f4deb37f2ff (diff) | |
download | Car-0cad3236e5f46abeb211cca11b5ba3f68f679d6a.tar.gz |
Merge "Adding availability support to VMS subscribers"
Diffstat (limited to 'car-lib/src/android/car/vms/IVmsSubscriberClient.aidl')
-rw-r--r-- | car-lib/src/android/car/vms/IVmsSubscriberClient.aidl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/car-lib/src/android/car/vms/IVmsSubscriberClient.aidl b/car-lib/src/android/car/vms/IVmsSubscriberClient.aidl new file mode 100644 index 0000000000..8a0f546e82 --- /dev/null +++ b/car-lib/src/android/car/vms/IVmsSubscriberClient.aidl @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2017 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.car.vms; + +import android.car.vms.VmsLayer; + +/** + * @hide + */ +oneway interface IVmsSubscriberClient { + /** + * A VmsService uses this callback to pass messages to subscribers. + */ + void onVmsMessageReceived(in int layerId, in int layerVersion, in byte[] payload) = 0; + + void onLayersAvailabilityChange(in List<VmsLayer> availableLayers) = 1; +} |