switchCamera abstract method

int switchCamera(
  1. bool frontCamera
)

Switching to the front/rear camera (for mobile OS)

  • Parameters:
    • frontCamera(bool):
      • true front camera;
      • false rear camera.

Implementation

int switchCamera(bool frontCamera);