A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
#include <
tv_input.h
>
Definição na linha
82
do arquivo
tv_input.h
.
const char* audio_address
|
audio_devices_t audio_type
|
int32_t type_info_reserved[16]
|
A documentação desse struct foi gerada com base no seguinte arquivo:
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-26 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-26 UTC."],[],[],null,["# Android Hardware Abstraction Layer: tv_input_device_info Struct Reference\n\ntv_input_device_info Struct Reference\n=====================================\n\n[Data Fields](#pub-attribs) \ntv_input_device_info Struct Reference \n\n`\n#include \u003c\n`[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| int | [device_id](/reference/hal/structtv__input__device__info#accfd0301c469314772cc651ec198d492) |\n| ||\n| [tv_input_type_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h) | [type](/reference/hal/structtv__input__device__info#a0751ef2cca4a32268c4fbb2e844ab3dd) |\n| ||\n| union { |\n| struct { |\n| uint32_t [port_id](/reference/hal/structtv__input__device__info#a6f54b893342775cdf092c6646e57c83b) |\n| ||\n| } [hdmi](/reference/hal/structtv__input__device__info#a58ca5f157446b597cd038c0b70b32e29) |\n| ||\n| int32_t [type_info_reserved](/reference/hal/structtv__input__device__info#a9436f274649da8628c5a7a15bab76f22) \\[16\\] |\n| ||\n| }; | |\n| ||\n| audio_devices_t | [audio_type](/reference/hal/structtv__input__device__info#a595e2890f8fcee40074a7f09faf488fd) |\n| ||\n| const char \\* | [audio_address](/reference/hal/structtv__input__device__info#a9b72149bdeeb590c3d22faf1ac9a4388) |\n| ||\n| int32_t | [reserved](/reference/hal/structtv__input__device__info#afa15a6e319704eaf4813919ebe99f6bf) \\[16\\] |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[82](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------|\n| union { ... } |\n\n\n|----------------------------|\n| const char\\* audio_address |\n\n\nDefinition at line\n[108](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|----------------------------|\n| audio_devices_t audio_type |\n\n\nDefinition at line\n[107](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|---------------|\n| int device_id |\n\n\nDefinition at line\n[84](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|---------------------|\n| struct { ... } hdmi |\n\n\n|------------------|\n| uint32_t port_id |\n\n\nDefinition at line\n[92](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|------------------------|\n| int32_t reserved\\[16\\] |\n\n\nDefinition at line\n[110](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------|\n| [tv_input_type_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h) type |\n\n\nDefinition at line\n[87](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|----------------------------------|\n| int32_t type_info_reserved\\[16\\] |\n\n\nDefinition at line\n[97](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)"]]