Interface for sending screenshot data to the test driver. More...
#include <Coherent/Coherent/UIGT/ScreenshotResponse.h>
Public Member Functions | |
virtual void | ReceiveData (int viewId, const unsigned char *buffer, unsigned width, unsigned height)=0 |
Receive raw screenshot image data and send it as base64 encoded PNG to the test driver. More... | |
virtual void | Release ()=0 |
Releases the memory for this response. You MUST call release on this object after you've read the resource, otherwise memory leaks will occur. | |
Interface for sending screenshot data to the test driver.
|
pure virtual |
Receive raw screenshot image data and send it as base64 encoded PNG to the test driver.
viewId | the id of the view |
buffer | buffer with raw screenshot image data |
width | width of the screenshot image |
height | height of the screensoht image |