|
Maxst AR SDK 4.0.0
4.0.0
|
Classes | |
| enum | CameraApi |
| enum | FlipDirection |
| enum | FocusMode |
Public Member Functions | |
| void | setCameraApi (CameraApi cameraApi) |
| CameraApi | getCameraApi () |
| ResultCode | start (int cameraId, int width, int height) |
| ResultCode | stop () |
| boolean | setNewFrame (byte[] data, int length, int width, int height, ColorFormat format) |
| boolean | setNewFrame (long data, int length, int width, int height, ColorFormat format) |
| boolean | setNewFrameAndTimestamp (byte[] data, int length, int width, int height, ColorFormat format, long timestamp) |
| boolean | setNewFrameAndTimestamp (long data, int length, int width, int height, ColorFormat format, long timestamp) |
| boolean | setFocusMode (FocusMode focusMode) |
| boolean | setFlashLightMode (boolean toggle) |
| boolean | setAutoWhiteBalanceLock (boolean toggle) |
| void | flipVideo (FlipDirection direction, boolean toggle) |
| List< String > | getParamList () |
| boolean | setParam (String paramKey, boolean paramValue) |
| boolean | setParam (String paramKey, int paramValue) |
| boolean | setParam (String paramKey, int min, int max) |
| boolean | setParam (String paramKey, String paramValue) |
| float [] | getProjectionMatrix () |
| float [] | getBackgroundPlaneProjectionMatrix () |
Static Public Member Functions | |
| static CameraDevice | getInstance () |
class for camera device handling
|
inline |
Flip video background
| direction | Flip direction |
| toggle | true for set, false for reset |
|
inline |
Get projection matrix for background plane rendering
|
inline |
Get used camera api value
|
inline |
Get supported parameter key list
|
inline |
Get projection matrix. This is used for augmented objects
|
inline |
Set auto white balance lock
| toggle | true : lock, false : unlock wb lock |
|
inline |
Select which camera api are used
| cameraApi | camera 1 or camera 2 |
|
inline |
Set flash light mode
| toggle | true : Turn on light, false : Turn off light |
|
inline |
Set camera focus mode
| focusMode | camera focus mode |
|
inline |
Set new image data for tracking and background rendering (Only enterprise license key can activate this interface)
| data | image data bytes. |
| length | image length |
| width | image width |
| height | image height |
| format | image format |
|
inline |
Set new image data for tracking and background rendering (Only enterprise license key can activate this interface)
| data | image data native pointer address. |
| length | image length |
| width | image width |
| height | image height |
| format | image format |
|
inline |
Set new image data for tracking and background rendering (Only enterprise license key can activate this interface)
| data | image data bytes. |
| length | image length |
| width | image width |
| height | image height |
| format | image format |
| timestamp | image timestamp |
|
inline |
Set new image data for tracking and background rendering (Only enterprise license key can activate this interface)
| data | image data native pointer address. |
| length | image length |
| width | image width |
| height | image height |
| format | image format |
| timestamp | image timestamp |
|
inline |
Set camera parameter.
| paramKey | Parameter key |
| paramValue | Parameter value |
|
inline |
Set camera parameter.
| paramKey | Parameter key |
| paramValue | Parameter value |
|
inline |
Set camera parameter with range value
| paramKey | Parameter key |
| min | Parameter min value |
| max | Parameter max value |
|
inline |
Set camera parameter.
| paramKey | Parameter key (white-balance, etc) |
| paramValue | Parameter value |
|
inline |
Start camera preview
| cameraId | 0 is rear camera, 1 is face camera |
| width | prefer camera width |
| height | prefer camera height |
|
inline |
Stop camera preview
1.8.14