/** * Interface for all JSONWP commands proxied to the external driver. */ export interface IJSONWPCommands { /** * Get the device orientation * * @returns The orientation string */ getOrientation?(): Promise; /** * Set the device orientation * * @param orientation - the orientation string */ setOrientation?(orientation: string): Promise; /** * Get the virtual or real geographical location of a device * * @returns The location */ getGeoLocation?(): Promise; /** * Set the virtual geographical location of a device * * @param location - the location including latitude and longitude * @returns The complete location */ setGeoLocation?(location: Partial): Promise; } export type Orientation = 'LANDSCAPE' | 'PORTRAIT'; export interface Location { latitude: number; longitude: number; altitude?: number; } //# sourceMappingURL=jsonwp.d.ts.map