uts 集成百度定位9.5.7版本,
import BDLocation from 'com.baidu.location.BDLocation';
export default class BDAbstractLocationListener {
public static class: Class<BDAbstractLocationListener>;
public constructor();
public onConnectHotSpotMessage(param0: string, param1: number): void;
public onLocDiagnosticMessage(param0: number, param1: number, param2: string): void;
public onReceiveLocString(param0: string): void;
public onReceiveLocation(param0: BDLocation): void;
public onReceiveVdrLocation(param0: BDLocation): void;
}
onReceiveLocation 可以,onLocDiagnosticMessage编译就就报错“error: 'onLocDiagnosticMessage' overrides nothing”
0 个回复