Отключить фронтальную камеру в приложении, созданном с помощью Cordova?

TimeZoneInfo infotime = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time (Mexico)");
DateTime thisDate = TimeZoneInfo.ConvertTimeFromUtc(datetimeFromBD, infotime);
1
задан norbeq 26 March 2019 в 15:42
поделиться

1 ответ

Вы можете найти решение с помощью следующих параметров:

cameraDirection: Choose the camera to use (front- or back-facing). Defined in navigator.camera.Direction (Number)

Camera.Direction = {
    BACK : 0,      // Use the back-facing camera
    FRONT : 1      // Use the front-facing camera
};

Ссылка: https://cordova.apache.org/docs/en/3.3.0/ cordova / camera / parameter / cameraOptions.html

Надеюсь, что это поможет / поможет вам.

0
ответ дан Rohit Sharma 26 March 2019 в 15:42
поделиться
Другие вопросы по тегам:

Похожие вопросы: