Resource Base
Table of contents

Parameter Reference

Camera state

Member (Android & iOS) Value Description
CAMERA_STATE_OFF 0 Set camera off.
CAMERA_STATE_ON 1 Set camera on.

Camera Position

Member (Android & iOS) Value Description
CAMERA_POSITION_USER 0 Use front camera.
CAMERA_POSITION_WORLD 1 Use back camera.

Torch State

Member (Android & iOS) Value Description
TORCH_STATE_OFF 0 Turn off torch.
TORCH_STATE_ON 1 Turn on torch.
TORCH_STATE_AUTO 2 Auto turn on/off torch.

Resolution

Member (Android & iOS) Value Description
RESOLUTION_AUTO 0 Set resolution auto.
RESOLUTION_480P 1 Set resolution at 480p.
RESOLUTION_720P 2 Set resolution at 720p.
RESOLUTION_1080P 3 Set resolution at 1080p.
RESOLUTION_2K (Android Only) 4 Set resolution at 2k.
RESOLUTION_4K 5 Set resolution at 4k.

HardwareUtil

Member (Android Only) Value Description
DEVICEINFO_UNKNOWN -1 The device info is unavailable.
DEVICE_LEVEL_HIGH 2 The device level is detected to be high.
DEVICE_LEVEL_MID 1 The device level is detected to be medium.
DEVICE_LEVEL_LOW 0 The device level is detected to be low.
DEVICE_LEVEL_UNKNOWN -2 The device level is unavailable.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 1.0.1
    • Version 1.0
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support