switchCamera abstract method

void switchCamera(
  1. bool frontCamera
)

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

Implementation

void switchCamera(bool frontCamera);