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