Bartosz Firyn (SarXos)

com.github.sarxos.webcam
Interface WebcamDevice.BufferAccess

All Known Implementing Classes:
WebcamDefaultDevice
Enclosing interface:
WebcamDevice

public static interface WebcamDevice.BufferAccess

This interface should be implemented by all webcam devices supporting possibility to access raw bytes or direct bytes buffer from native webcam device.

Author:
Bartosz Firyn (SarXos)

Method Summary
 ByteBuffer getImageBytes()
          Get image in form of raw bytes.
 

Method Detail

getImageBytes

ByteBuffer getImageBytes()
Get image in form of raw bytes. Do not use this buffer to set bytes value, it should be used only for read purpose!

Returns:
Bytes buffer

Bartosz Firyn (SarXos)

Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.