public class AMapLocationActivity2D extends RongBaseActivity implements IMyLocationChangedListener, android.view.View.OnClickListener
mContentView, mTitleBar
Constructor and Description |
---|
AMapLocationActivity2D() |
Modifier and Type | Method and Description |
---|---|
void |
activate(OnLocationChangedListener onLocationChangedListener) |
void |
deactivate() |
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onCameraChange(CameraPosition cameraPosition) |
void |
onCameraChangeFinish(CameraPosition cameraPosition) |
void |
onClick(android.view.View v) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onGeocodeSearched(GeocodeResult geocodeResult,
int i) |
void |
onMyLocationChanged(AMapLocationInfo locationInfo) |
void |
onRegeocodeSearched(RegeocodeResult regeocodeResult,
int i) |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
attachBaseContext, initStatusBar, setContentView
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class RongBaseActivity
public void onRequestPermissionsResult(int requestCode, java.lang.String[] permissions, int[] grantResults)
onRequestPermissionsResult
in class RongBaseActivity
public void onRegeocodeSearched(RegeocodeResult regeocodeResult, int i)
public void onGeocodeSearched(GeocodeResult geocodeResult, int i)
public void activate(OnLocationChangedListener onLocationChangedListener)
public void deactivate()
public void onCameraChange(CameraPosition cameraPosition)
public void onCameraChangeFinish(CameraPosition cameraPosition)
protected void onDestroy()
public void onMyLocationChanged(AMapLocationInfo locationInfo)
onMyLocationChanged
in interface IMyLocationChangedListener
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
protected void onActivityResult(int requestCode, int resultCode, android.content.Intent data)