public class AMapRealTimeActivity extends RongBaseNoActionbarActivity implements ILocationChangedListener
Constructor and Description |
---|
AMapRealTimeActivity() |
Modifier and Type | Method and Description |
---|---|
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onError(RealTimeLocationConstant.RealTimeLocationErrorCode code) |
void |
onLocationChanged(double latitude,
double longitude,
java.lang.String userId) |
void |
onParticipantJoinSharing(java.lang.String userId) |
void |
onParticipantQuitSharing(java.lang.String userId) |
protected void |
onPause()
方法必须重写
|
protected void |
onResume()
方法必须重写
|
protected void |
onSaveInstanceState(android.os.Bundle outState)
方法必须重写
|
void |
onSharingTerminated() |
void |
updateUserInfo(UserInfo user) |
attachBaseContext
public void updateUserInfo(UserInfo user)
public void onLocationChanged(double latitude, double longitude, java.lang.String userId)
onLocationChanged
in interface ILocationChangedListener
public void onParticipantJoinSharing(java.lang.String userId)
onParticipantJoinSharing
in interface ILocationChangedListener
public void onParticipantQuitSharing(java.lang.String userId)
onParticipantQuitSharing
in interface ILocationChangedListener
public void onSharingTerminated()
onSharingTerminated
in interface ILocationChangedListener
public void onError(RealTimeLocationConstant.RealTimeLocationErrorCode code)
onError
in interface ILocationChangedListener
protected void onActivityResult(int requestCode, int resultCode, android.content.Intent data)
protected void onCreate(android.os.Bundle savedInstanceState)
protected void onDestroy()
protected void onPause()
protected void onResume()
protected void onSaveInstanceState(android.os.Bundle outState)