Get PostView Image Data

PullPostViewImage

Overview

Get the PostView image data.

Definition

CrError PullPostViewImage(CrDeviceHandle deviceHandle, CrInt8u* buffer, CrInt32u bufferSize);

Input parameters

Type

Explanation

CrDeviceHandle

deviceHandle

CrInt32u

bufferSize
Indicates the size of the memory buffer of the ‘buffer’ parameter.

Input/Output parameters

Type

Explanation

CrInt8u*

buffer
This parameter is the memory buffer to receive the image data.
The SDK will write the PostView image data to this buffer pointer.
Prepare a buffer of a size that satisfies the ‘size’ received in the OnNotifyPostViewImage callback.

Return value

Type

Explanation

CrError

CrError_None on Success
CrError_Api_InvalidCalled When there is no image data to transfer
Other than errors above, see Status code & Error
Related API
Special note (details)

None in particular