A partir del 27 de marzo de 2025, te recomendamos que uses android-latest-release
en lugar de aosp-main
para compilar y contribuir a AOSP. Para obtener más información, consulta Cambios en AOSP.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Referencia de la estructura radio_hw_device
#include <
radio.h
>
Definición en la línea
221
del archivo
radio.h
.
int(* get_properties)(const struct
radio_hw_device
*dev, radio_hal_properties_t *properties)
|
La documentación de esta struct se generó a partir del siguiente archivo:
-
hardware/libhardware/include/hardware/
radio.h
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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)"]]