Package: android.hardware.automotive.evs@1.0

IEvsCameraStream

interface IEvsCameraStream

Implemented on client side to receive asynchronous video frame deliveries.

Methods

deliverFrame

oneway deliverFrame (BufferDesc buffer)

Receives calls from the HAL each time a video frame is ready for inspection.Buffer handles received by this method must be returned via calls to IEvsCamera::doneWithFrame().When the video stream is stopped via a call to IEvsCamera::stopVideoStream(), this callback may continue to happen for some time as the pipeline drains.Each frame must still be returned.When the last frame in the stream has been delivered, a NULL bufferHandle must be delivered, signifying the end of the stream.No further frame deliveries may happen thereafter.

Details
RPC mode
oneway
Parameters
buffer