blob: 22d610f842892396afe5f246b8d1de14bbcaa060 [file] [log] [blame]
Haoxiang Li6bdb8112019-12-23 16:10:31 -08001/*
2 * Copyright 2020 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.automotive.sv@1.0;
18
19/**
20 * Interface representing a surround view stream.
21 *
22 * This interface is to be implemented by client to receive callback for output frames and events.
23 */
24interface ISurroundViewStream {
25 /**
26 * Receives callback of surround view 2d/3d frames.
27 *
28 * @param svFramesDesc Frames descriptor containing the output frames.
29 */
30 oneway receiveFrames(SvFramesDesc svFramesDesc);
31
32 /**
33 * Receives callback for surround view events.
34 *
35 * @param svEvent Surround view event.
36 */
37 oneway notify(SvEvent svEvent);
38};