Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IGeolocationManager

interface IGeolocationManager
Extends com.amazon.apmf.IStandard

Methods

getLastKnownLocation()

IGeolocation* getLastKnownLocation(ProviderType* providerType)

Parameters

providerType
ProviderType* — Required

Returns

IGeolocation*

getCurrentLocation()

IGeolocation* getCurrentLocation(ProviderType* providerType)

Parameters

providerType
ProviderType* — Required

Returns

IGeolocation*

startPeriodicTracking()

com.amazon.apmf.ISubscription* startPeriodicTracking(u32 intervalTimeMilliSec, ProviderType* providerType, IGeolocationListener* listener)

Parameters

intervalTimeMilliSec
u32 — Required
providerType
ProviderType* — Required
listener
IGeolocationListener* — Required

Returns

com.amazon.apmf.ISubscription*

getAllProviders()

IProvider*[] getAllProviders()

Returns

IProvider*[]

addNewProvider()

ProviderHandle addNewProvider(IProvider* providerInfo)

Parameters

providerInfo
IProvider* — Required

Returns

ProviderHandle

removeProvider()

void removeProvider(ProviderHandle handle)

Parameters

handle
ProviderHandle — Required

injectGeolocationData()

void injectGeolocationData(IGeolocation* geoLocationData, ProviderHandle handle)

Parameters

geoLocationData
IGeolocation* — Required
handle
ProviderHandle — Required

AddNmeaUpdateListener()

com.amazon.apmf.ISubscription* AddNmeaUpdateListener(INmeaListener* listener)

Parameters

listener
INmeaListener* — Required

Returns

com.amazon.apmf.ISubscription*

getLastKnownLocationExtended()

IGeolocationExtended* getLastKnownLocationExtended(ProviderType* providerType)

Parameters

providerType
ProviderType* — Required

Returns

IGeolocationExtended*

getCurrentLocationExtended()

IGeolocationExtended* getCurrentLocationExtended(ProviderType* providerType)

Parameters

providerType
ProviderType* — Required

Returns

IGeolocationExtended*
Last modified on October 22, 2026