|
MaxstARSDK
|
class for camera device handling More...

Public Types | |
| enum | FocusMode { FocusMode.FOCUS_MODE_CONTINUOUS_AUTO = 1, FocusMode.FOCUS_MODE_AUTO = 2 } |
| Camera focus mode More... | |
| enum | CameraType { CameraType.Rear = 0, CameraType.Face = 1 } |
| Supported camera type (Mobile only) More... | |
| enum | CameraResolution { CameraResolution.Resolution640x480, CameraResolution.Resolution1280x720 } |
| Supported camera resolution More... | |
| enum | FlipDirection { FlipDirection.HORIZONTAL = 0, FlipDirection.VERTICAL = 1 } |
| Flip video More... | |
Public Member Functions | |
| ResultCode | Start () |
| Start camera preview More... | |
| bool | SetFocusMode (FocusMode focusMode) |
| Set camera focus mode More... | |
| bool | SetFlashLightMode (bool toggle) |
| Turn on/off flash light More... | |
| bool | SetAutoWhiteBalanceLock (bool toggle) |
| Toggle auto white balance lock (Android only supported now) More... | |
| void | FlipVideo (FlipDirection direction, bool on) |
| Flip video background More... | |
| List< string > | GetParamList () |
| Get parameter key list (Android only supported now) More... | |
| bool | SetParam (string key, bool boolTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, int intTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, int min, int max) |
| Set camera parameter (Android only supported now) More... | |
| bool | SetParam (string key, string stringTypeValue) |
| Set camera parameter (Android only supported now) More... | |
| void | Stop () |
| Stop camera preview More... | |
| int | GetWidth () |
| int | GetHeight () |
Static Public Member Functions | |
| static CameraDevice | GetInstance () |
| Get a CameraDevice instance. More... | |
class for camera device handling
|
strong |
|
strong |
|
strong |
|
strong |
| void maxstAR.CameraDevice.FlipVideo | ( | FlipDirection | direction, |
| bool | on | ||
| ) |
Flip video background
| direction | Flip direction |
| on | True to set. False to rest |
| int maxstAR.CameraDevice.GetHeight | ( | ) |


|
static |
Get a CameraDevice instance.

| List<string> maxstAR.CameraDevice.GetParamList | ( | ) |
Get parameter key list (Android only supported now)
| int maxstAR.CameraDevice.GetWidth | ( | ) |

| bool maxstAR.CameraDevice.SetAutoWhiteBalanceLock | ( | bool | toggle | ) |
Toggle auto white balance lock (Android only supported now)
| bool maxstAR.CameraDevice.SetFlashLightMode | ( | bool | toggle | ) |
Turn on/off flash light
| bool maxstAR.CameraDevice.SetFocusMode | ( | FocusMode | focusMode | ) |
Set camera focus mode
| focusMode |
| bool maxstAR.CameraDevice.SetParam | ( | string | key, |
| bool | boolTypeValue | ||
| ) |
Set camera parameter (Android only supported now)
| key | Parameter key |
| boolTypeValue | Parameter value |
| bool maxstAR.CameraDevice.SetParam | ( | string | key, |
| int | intTypeValue | ||
| ) |
Set camera parameter (Android only supported now)
| key | Parameter key |
| intTypeValue | Parameter value |
| bool maxstAR.CameraDevice.SetParam | ( | string | key, |
| int | min, | ||
| int | max | ||
| ) |
Set camera parameter (Android only supported now)
| key | Parameter key |
| min | min value |
| max | min value |
| bool maxstAR.CameraDevice.SetParam | ( | string | key, |
| string | stringTypeValue | ||
| ) |
Set camera parameter (Android only supported now)
| key | Parameter key |
| stringTypeValue | Parameter value |
| ResultCode maxstAR.CameraDevice.Start | ( | ) |
Start camera preview

| void maxstAR.CameraDevice.Stop | ( | ) |
Stop camera preview