कैमरा.स्टॉपकैप्चर
वीडियो कैप्चर या ओपन-एंडेड इंटरवल इमेज कैप्चर करने की सुविधा बंद करता है. यह इमेज इनके हिसाब से तय होती है
विकल्प में captureMode
.
अगर संबंधित startCapture
अंतराल इमेज कैप्चर के लिए है और खत्म करने की शर्त सेट है
(उदाहरण के लिए, यह 10 इमेज कैप्चर करने के बाद बंद हो जाता है), फिर stopCapture
की आवश्यकता नहीं है, फिर भी, शुरुआती दौर के लिए इसे अभी भी एक मान्य
समाप्ति. यह निर्देश, एपीआई लेवल 2 में जोड़ा गया था.
पैरामीटर
- इस निर्देश का अनुरोध के मुख्य हिस्से में कोई पैरामीटर नहीं है.
नतीजे
- fileUrls: वीडियो फ़ाइलों या
ओपन-एंडेड इंटरवल कैप्चर के लिए इमेज फ़ाइलें.
गड़बड़ियां
- discountCommand: फ़िलहाल, कमांड की सुविधा बंद है; इसके लिए
उदाहरण के लिए, कैप्चर पहले ही रोक दिया गया है.
- अमान्य पैरामीटर का नाम: इनपुट पैरामीटर का नाम यह है
पहचान नहीं की जा सकी.
कमांड I/O |
कमांड इनपुट |
none |
कमांड आउटपुट |
{ "results": { "fileUrls":[ "url1", "url2", "url3", ... "urln" ] } } |
कमांड आउटपुट (गड़बड़ी) |
{ "error": { "code": "disabledCommand", "message": "Command is currently disabled." } } |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["Stops video or interval image capture, configurable via `captureMode`."],["Early termination is possible even if a termination condition is set."],["Returns URLs to captured video or image files upon successful execution."],["API level 2 or higher is required to use this command."],["Potential errors include disabled command and invalid parameter name."]]],["The `stopCapture` command halts video or open-ended interval image capture, introduced in API level 2. It requires no parameters. Successful execution returns a list of file URLs (`fileUrls`) for the captured video or images. While unnecessary for interval captures with set termination conditions, it enables early termination. Errors include `disabledCommand` (if the capture is already stopped) and `invalidParameterName`. The command input is empty, and the output provides either `fileUrls` or an error message.\n"]]