location

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

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

func Init(env *jni.Env) error

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

func NewlocationManager(ctx *app.Context) (*locationManager, error)

NewlocationManager obtains android.location.LocationManager from the Android system service manager.

Types

This section is empty.

Directories

Path Synopsis
Package altitude provides Go bindings for .
Package altitude provides Go bindings for .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL