@eclipse-scout/core
Version:
Eclipse Scout runtime
12 lines • 625 B
TypeScript
/// <reference types="jquery" />
import { Desktop, DoEntity, UiCallbackErrorDo, UiCallbackHandler } from '../index';
export declare class GeoLocationUiHandler implements UiCallbackHandler {
handle(callbackId: string, owner: Desktop, request: DoEntity): JQuery.Promise<GeoLocationResponse>;
protected _positionSuccess(position: GeolocationPosition): GeoLocationResponse;
protected _positionError(positionError: GeolocationPositionError): UiCallbackErrorDo;
}
export interface GeoLocationResponse extends DoEntity {
latitude?: string;
longitude?: string;
}
//# sourceMappingURL=GeoLocationUiHandler.d.ts.map