public class LocationManager extends java.lang.Object implements IRealTimeLocationStateListener
Modifier and Type | Class and Description |
---|---|
static interface |
LocationManager.IRealTimeLocationChangedCallback |
static interface |
LocationManager.LocationProvider
位置信息的提供者,实现后获取用户位置信息。
|
static class |
LocationManager.MapMode |
Modifier and Type | Method and Description |
---|---|
static LocationManager |
getInstance() |
LocationManager.LocationProvider |
getLocationProvider() |
LocationManager.MapMode |
getMapMode() |
void |
onErrorException() |
void |
onParticipantChanged(java.util.List<java.lang.String> userIdList) |
void |
setLocationProvider(LocationManager.LocationProvider locationProvider)
设置位置信息的提供者。
|
void |
setOnRTLocationChangedCallback(LocationManager.IRealTimeLocationChangedCallback callback) |
public void setOnRTLocationChangedCallback(LocationManager.IRealTimeLocationChangedCallback callback)
public static LocationManager getInstance()
public void onParticipantChanged(java.util.List<java.lang.String> userIdList)
onParticipantChanged
in interface IRealTimeLocationStateListener
public void onErrorException()
onErrorException
in interface IRealTimeLocationStateListener
public LocationManager.MapMode getMapMode()
public void setLocationProvider(LocationManager.LocationProvider locationProvider)
locationProvider
- 位置信息提供者。public LocationManager.LocationProvider getLocationProvider()