Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct camera3_error_msg
#include <
camera3.h
>
camera3_error_msg_t:
Konten pesan untuk CAMERA3_MSG_ERROR
Definisi di baris
1982
file
camera3.h
.
Kode untuk error ini; salah satu nilai enum CAMERA_MSG_ERROR.
Definisi di baris
1998
dari file
camera3.h
.
Pointer ke streaming yang mengalami kegagalan. NULL jika streaming tidak berlaku untuk error.
Definisi di baris
1993
dari file
camera3.h
.
Nomor frame permintaan tempat error diterapkan. 0 jika nomor frame tidak berlaku untuk error.
Definisi di baris
1987
dari file
camera3.h
.
Dokumentasi untuk struct ini dibuat dari file berikut:
-
hardware/libhardware/include/hardware/
camera3.h
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: camera3_error_msg Struct Reference\n\ncamera3_error_msg Struct Reference\n==================================\n\n[Data Fields](#pub-attribs) \ncamera3_error_msg Struct Reference \n\n`\n#include \u003c\n`[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint32_t | [frame_number](/reference/hal/structcamera3__error__msg#a57cc7f4d579276167efca6cf047839b2) |\n| ||\n| [camera3_stream_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* | [error_stream](/reference/hal/structcamera3__error__msg#aaf7dcf29b86c6b052052f8ff5ba9040f) |\n| ||\n| int | [error_code](/reference/hal/structcamera3__error__msg#a7d16b1c68c87cec009d972e79abfba78) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\ncamera3_error_msg_t:\n\n\nMessage contents for CAMERA3_MSG_ERROR\n\n\nDefinition at line\n[1982](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------|\n| int error_code |\n\n\nThe code for this error; one of the CAMERA_MSG_ERROR enum values.\n\n\nDefinition at line\n[1998](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| [camera3_stream_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h) \\* error_stream |\n\n\nPointer to the stream that had a failure. NULL if the stream isn't applicable to the error.\n\n\nDefinition at line\n[1993](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n|-----------------------|\n| uint32_t frame_number |\n\n\nFrame number of the request the error applies to. 0 if the frame number isn't applicable to the error.\n\n\nDefinition at line\n[1987](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\nof file\n[camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [camera3.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/camera3.h)"]]