Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct radio_hw_device
#include <
radio.h
>
Definisi di baris
221
file
radio.h
.
int(* get_properties)(const struct
radio_hw_device
*dev, radio_hal_properties_t *properties)
|
Dokumentasi untuk struct ini dibuat dari file berikut:
-
hardware/libhardware/include/hardware/
radio.h
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]