getAvailableCameraInput method

List<String> getAvailableCameraInput()

Implementation

List<String> getAvailableCameraInput() {
  if (isCameraOn() == true) {
    return ["off", "front", "back"];
  } else {
    return ["on", "front", "back"];
  }
}