kamera.sıfırlama
Tüm seçenekleri tekrar varsayılan değerlerine ayarlar. Herhangi bir varsayımda bulunulamaz
cihazın açılış durumuyla ilgili bilgi verir. Örneğin,
varsayılan seçeneklerle her seferinde bir kameranın açıldığı varsayılır.
Bu komut API düzeyi 2'de eklendi.
Parametreler
- Bu komutun istek gövdesinde parametre yok.
Sonuçlar
- Bu komut, yanıt gövdesinde sonuç döndürmez.
Hatalar
- geçersizParametreAdı: Giriş parametresi adı tanınmıyor.
Komut G/Ç |
Komut Girişi |
none |
Komut Çıkışı |
none |
Komut Çıkışı (Hata) |
{ "error": { "code": "invalidParameterName", "message": "parameter XYZ is unrecognized." } } |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-21 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-21 UTC."],[[["Resets all camera options to their original default settings."],["Camera state on power-up is unpredictable and not guaranteed to have default options."],["Introduced in API level 2, this command neither accepts input parameters nor provides output results in its request/response body."],["An \"invalidParameterName\" error is returned if an unrecognized parameter is included in the request."]]],["This command resets all camera options to their default values, ensuring no prior state assumptions are made. Introduced in API level 2, it requires no parameters in the request and returns no result in the response. The only potential error is \"invalidParameterName,\" triggered if an unrecognized parameter is provided, even though there should be none. Command input and output is empty, with the error output providing details.\n"]]