Interface Info |
|---|
public interface LocationSource Defines a location source that provides location data for the map. The HuaweiMap object uses activate(LocationSource.OnLocationChangedListener listener) to activate the location source and listen for location updates. |
Qualifier and Type | Class Name and Description |
|---|---|
public interface | LocationSource.OnLocationChangedListener Listener used to listen for location updates. |
Qualifier and Type | Method Name and Description |
|---|---|
abstract void | activate(LocationSource.OnLocationChangedListener listener) Activates a location source and listens for location updates. |
abstract void | Deactivates a location source. |
Method |
|---|
public abstract void activate(LocationSource.OnLocationChangedListener listener) Activates a location source and listens for location updates. |
Parameters
Name | Description |
|---|---|
listener | Listener used to listen for location updates. |