com.android.emulator.control.GpsStateOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adam Show documentation
Show all versions of adam Show documentation
Android Debug Bridge helper
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: emulator_controller.proto
// Protobuf Java Version: 3.25.0
package com.android.emulator.control;
public interface GpsStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:android.emulation.control.GpsState)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Setting this to false will disable auto updating from the LocationUI,
* otherwise the location UI will override the location at a frequency of 1hz.
*
* - This is unused if the emulator is launched with -no-window, or when he
* location ui is disabled.
* - This will BREAK the location ui experience if it is set to false. For
* example routing will no longer function.
*
*
* bool passiveUpdate = 1;
* @return The passiveUpdate.
*/
boolean getPassiveUpdate();
/**
*
* The latitude, in degrees.
*
*
* double latitude = 2;
* @return The latitude.
*/
double getLatitude();
/**
*
* The longitude, in degrees.
*
*
* double longitude = 3;
* @return The longitude.
*/
double getLongitude();
/**
*
* The speed if it is available, in meters/second over ground
*
*
* double speed = 4;
* @return The speed.
*/
double getSpeed();
/**
*
* gets the horizontal direction of travel of this device, and is not
* related to the device orientation. It is guaranteed to be in the
* range [0.0, 360.0] if the device has a bearing. 0=North, 90=East,
* 180=South, etc..
*
*
* double bearing = 5;
* @return The bearing.
*/
double getBearing();
/**
*
* The altitude if available, in meters above the WGS 84 reference
* ellipsoid.
*
*
* double altitude = 6;
* @return The altitude.
*/
double getAltitude();
/**
*
* The number of satellites used to derive the fix
*
*
* int32 satellites = 7;
* @return The satellites.
*/
int getSatellites();
}