Documentation
¶
Overview ¶
Package location provides Go bindings for .
Index ¶
Constants ¶
View Source
const ( ActionGnssCapabilitiesChanged = consts.ActionGnssCapabilitiesChanged ExtraGnssCapabilities = consts.ExtraGnssCapabilities ExtraLocationEnabled = consts.ExtraLocationEnabled ExtraProviderEnabled = consts.ExtraProviderEnabled ExtraProviderName = consts.ExtraProviderName FusedProvider = consts.FusedProvider GpsProvider = consts.GpsProvider KeyFlushComplete = consts.KeyFlushComplete KeyLocations = consts.KeyLocations KeyLocationChanged = consts.KeyLocationChanged KeyProviderEnabled = consts.KeyProviderEnabled KeyProximityEntering = consts.KeyProximityEntering KeyStatusChanged = consts.KeyStatusChanged ModeChangedAction = consts.ModeChangedAction NetworkProvider = consts.NetworkProvider PassiveProvider = consts.PassiveProvider ProvidersChangedAction = consts.ProvidersChangedAction )
View Source
const ( Creator = consts.Creator FormatDegrees = consts.FormatDegrees FormatMinutes = consts.FormatMinutes FormatSeconds = consts.FormatSeconds ConstellationBeidou = consts.ConstellationBeidou ConstellationGalileo = consts.ConstellationGalileo ConstellationGlonass = consts.ConstellationGlonass ConstellationGps = consts.ConstellationGps ConstellationIrnss = consts.ConstellationIrnss ConstellationQzss = consts.ConstellationQzss ConstellationSbas = consts.ConstellationSbas ConstellationUnknown = consts.ConstellationUnknown )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.
func NewlocationManager ¶
NewlocationManager obtains android.location.LocationManager from the Android system service manager.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.