This version of the documentation is outdated!
Click here for the latest released version.
CaptureImageOptions
封裝圖像捕獲的配置選項。
屬性
- 限制: 使用者可以在單個捕獲操作中捕獲的圖像的最大數目。值必須是大於或等於 1 (預設為 1)。
快速的示例
// limit capture operation to 3 images
var options = { limit: 3 };
navigator.device.capture.captureImage(captureSuccess, captureError, options);
iOS 的怪癖
- 限制參數不受支援,並只有一個圖像採取每次調用的。