FlpDiagnosticInterface 结构体参考文档
   FlpDiagnosticInterface 结构参考文档
  
 
  
   #include <
   
    fused_location.h
   
   >
  
 
| 数据字段 | |
| size_t | 尺寸 | 
| void(* | init )( FlpDiagnosticCallbacks *callbacks) | 
| int(* | inject_data )(char *data, int length) | 
详细说明
扩展了界面以提供诊断支持。
定义位于文件 fused_location.h 的 468 行。
字段文档
| void(* init)( FlpDiagnosticCallbacks *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
