FlpDiagnosticInterface 結構體參考資料
   FlpDiagnosticInterface 結構體參考資料
 
  
   #include <
   
    fused_location.h
   
   >
  
 
| 資料欄位 | |
| size_t | size | 
| void(* | init )( FlpDiagnosticCallbacks *callbacks) | 
| int(* | inject_data )(char *data, int length) | 
詳細說明
擴充介面,提供診斷支援。
定義位於檔案 fused_location.h 的 468 行。
欄位說明文件
| void(* init)( FlpIosDiagnosticCallbacks *callbacks) | 
開啟診斷介面,並為此介面的實作提供回呼例程。
定義位於檔案 fused_location.h 的 476 行。
| int(* inject_data)(char *data, int length) | 
將診斷資料插入 FLP 子系統。成功時傳回 0,錯誤時傳回 -1。
定義位於檔案 fused_location.h 的 482 行。
| size_t size | 
設為 sizeof(FlpDiagnosticInterface)
定義位於檔案 fused_location.h 的 470 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ fused_location.h
