Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
ScCommon.h
Go to the documentation of this file.
const char * message
error message. Set to NULL in case there is not error
Definition: ScCommon.h:228
ScInformationKey
Enumeration of different information strings.
Definition: ScCommon.h:257
ScQuadrilateral sc_quadrilateral_make(ScPoint tl, ScPoint tr, ScPoint br, ScPoint bl)
Helper function to initialize a quadrilateral with 4 corners.
ScPointF position
Upper-left corner of the rectangle.
Definition: ScCommon.h:165
ScPoint bottom_right
Bottom right corner of the quadrilateral.
Definition: ScCommon.h:75
ScPoint top_right
Top right corner of the quadrilateral.
Definition: ScCommon.h:71
ScPointF sc_rectangle_f_get_center(ScRectangleF rectangle)
Calculates and returns the center of the rectangle.
ScRectangleF sc_rectangle_f_make(float position_x, float position_y, float width, float height)
Helper function to initialize a rectangle.
ScPointF sc_point_f_make(float x, float y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:125
ScPoint sc_point_make(int x, int y)
Helper function to initialize a point with x, y coordinates.
Definition: ScCommon.h:50
Common definitions used throughout the ScanditSDK API.
const char * sc_get_information_string(ScInformationKey key)
Get information string.
uint32_t code
error code, 0 if there is no error, a positive value otherwise.
Definition: ScCommon.h:233
ScPoint bottom_left
Bottom left corner of the quadrilateral.
Definition: ScCommon.h:79
the camera automatically adjusts the focus to create a sharp image
Definition: ScCommon.h:207
ScPoint top_left
Top left corner of the quadrilateral.
Definition: ScCommon.h:67
ScSizeF size
Width and height of the rectangle. Both must larger or equal than zero.
Definition: ScCommon.h:169