LocationManager.
Quick Start
Subscribe to Location Stream
Get continuous location updates as the user moves:Get Latest Location (One-Time Poll)
Request a single location fix without subscribing to a stream:LocationManager API
The SDK providessession.location with three main methods:
Accuracy Tiers
Choose the accuracy tier based on your app’s needs. Higher accuracy tiers provide more precise location data but drain more battery.
Example:
LocationUpdate Data Structure
TheLocationUpdate interface contains location data:
TypeScript Interface:
Usage Examples
Display Location on Dashboard
Show Location on Voice Command
Cleanup Subscriptions
Permissions
Location access requires thelocation permission in your app manifest. Configure this in the Developer Console at console.mentra.glass.
Best Practices
Choose appropriate accuracy:Error Handling
Handling Stream Errors
Handling Poll Timeouts
Next Steps
Permissions
Configure location permissions
Location Manager API
Complete API reference
Dashboard
Display location on dashboard
AI Tool Calls
Add voice commands for location (under maintenance, returning later in 2026)

