自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
#include <
tv_input.h
>
定義位於檔案
tv_input.h
的第
82
行。
const char* audio_address
|
audio_devices_t audio_type
|
int32_t type_info_reserved[16]
|
這個結構體的說明文件是由下列檔案產生:
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],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)"]]