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 IGeolocationManager2

interface IGeolocationManager2
Extends IGeolocationManager

Methods

setRestrictedMode()

void setRestrictedMode(bool enabled)

Parameters

enabled
bool — Required

isRestrictedModeEnabled()

bool isRestrictedModeEnabled()

Returns

bool

addRestrictedModeListener()

com.amazon.apmf.ISubscription* addRestrictedModeListener(IRestrictedModeListener* listener)

Parameters

listener
IRestrictedModeListener* — Required

Returns

com.amazon.apmf.ISubscription*
Last modified on October 22, 2026