consumerir_device 結構體參考
  
   #include <
   
    consumerir.h
   
   >
  
 
| 資料欄位 | |
| struct hw_device_t | 通用 | 
| int(* | transmit )(struct consumerir_device *dev, int carrier_freq, const int pattern[], int pattern_len) | 
| int(* | get_num_carrier_freqs )(struct consumerir_device *dev) | 
| int(* | get_carrier_freqs )(struct consumerir_device *dev, size_t len, consumerir_freq_range_t *ranges) | 
| void * | 保留 [8-3] | 
詳細說明
定義位於檔案 consumerir.h 的 44 行。
欄位說明文件
| struct hw_device_t common | 
消費性紅外線裝置的常用方法。這個 必須是 consumerir_device 的首位成員,因為這個結構體的使用者會在已知 hw_device_t 參照 consumerir_device 的情況下,將 hw_device_t 投放至 consumerir_device 指標。
定義位於檔案 consumerir.h 的 51 行。
| int(* get_carrier_freqs)(struct consumerir_device *dev, size_t len, consumerir_freq_range_t *ranges) | 
定義位於檔案 consumerir.h 的 85 行。
| int(* get_num_carrier_freqs)(struct consumerir_device *dev) | 
定義位於檔案 consumerir.h 的 75 行。
| void* reserved[8-3] | 
定義位於檔案 consumerir.h 的 89 行。
| int(* transmit)(struct consumerir_device *dev, int carrier_freq, const int pattern[], int pattern_len) | 
定義位於檔案 consumerir.h 的 65 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ consumerir.h
