À partir du 27 mars 2025, nous vous recommandons d'utiliser android-latest-release
au lieu de aosp-main
pour créer et contribuer à AOSP. Pour en savoir plus, consultez la section Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Documentation de référence sur la struct cec_message
#include <
hdmi_cec.h
>
Définition à la ligne
232
du fichier
hdmi_cec.h
.
La documentation de ce struct a été générée à partir du fichier suivant :
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# Android Hardware Abstraction Layer: cec_message Struct Reference\n\ncec_message Struct Reference\n============================\n\n[Data Fields](#pub-attribs) \ncec_message Struct Reference \n\n`\n#include \u003c\n`[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [cec_logical_address_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) | [initiator](/reference/hal/structcec__message#a65bc7619f5cf528f6a6ab0715acddf11) |\n| ||\n| [cec_logical_address_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) | [destination](/reference/hal/structcec__message#a6672afbabf77f5c45108bc30c4b55f93) |\n| ||\n| size_t | [length](/reference/hal/structcec__message#ae809d5359ac030c60a30a8f0b2294b82) |\n| ||\n| unsigned char | [body](/reference/hal/structcec__message#a8f76defbabbe3cf90d0c1baf5809e2e2) \\[ [CEC_MESSAGE_BODY_MAX_LENGTH](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) \\] |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[232](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\nof file\n[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| unsigned char body\\[ [CEC_MESSAGE_BODY_MAX_LENGTH](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) \\] |\n\n\nDefinition at line\n[241](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\nof file\n[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\n.\n\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| [cec_logical_address_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) destination |\n\n\nDefinition at line\n[237](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\nof file\n[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| [cec_logical_address_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h) initiator |\n\n\nDefinition at line\n[234](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\nof file\n[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\n.\n\n|---------------|\n| size_t length |\n\n\nDefinition at line\n[240](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\nof file\n[hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [hdmi_cec.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hdmi_cec.h)"]]