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.
Referência da estrutura radio_hw_device
#include <
radio.h
>
Definição na linha
221
do arquivo
radio.h
.
int(* get_properties)(const struct
radio_hw_device
*dev, radio_hal_properties_t *properties)
|
A documentação desse struct foi gerada com base no seguinte arquivo:
-
hardware/libhardware/include/hardware/
radio.h
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-27 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-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: radio_hw_device Struct Reference\n\nradio_hw_device Struct Reference\n================================\n\n[Data Fields](#pub-attribs) \nradio_hw_device Struct Reference \n\n`\n#include \u003c\n`[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)`\n\u003e\n`\n\n|----------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structradio__hw__device#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| int(\\* | [get_properties](/reference/hal/structradio__hw__device#a9f141be85002272d1095f37cfde0f0d3) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, radio_hal_properties_t \\*properties) |\n| ||\n| int(\\* | [open_tuner](/reference/hal/structradio__hw__device#a7a856a4c73da6b9cb89492b0ea8772f0) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const radio_hal_band_config_t \\*config, bool audio, [radio_callback_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h) callback, void \\*cookie, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*\\*tuner) |\n| ||\n| int(\\* | [close_tuner](/reference/hal/structradio__hw__device#ae3a83b931c26ef8f6328cf7fe0371821) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*tuner) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[221](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* close_tuner)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*tuner) |\n\n\nDefinition at line\n[276](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-----------------------------------------------------------------|\n| struct [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[222](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* get_properties)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, radio_hal_properties_t \\*properties) |\n\n\nDefinition at line\n[234](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* open_tuner)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const radio_hal_band_config_t \\*config, bool audio, [radio_callback_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h) callback, void \\*cookie, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*\\*tuner) |\n\n\nDefinition at line\n[257](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)"]]