public class AMapRealTimeActivity2D extends RongBaseNoActionbarActivity implements ILocationChangedListener
Constructor and Description |
---|
AMapRealTimeActivity2D() |
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) |
void |
onSharingTerminated() |
void |
updateUserInfo(UserInfo userInfo) |
attachBaseContext
protected void onCreate(android.os.Bundle savedInstanceState)
public void updateUserInfo(UserInfo userInfo)
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 onError(RealTimeLocationConstant.RealTimeLocationErrorCode code)
onError
in interface ILocationChangedListener
public void onSharingTerminated()
onSharingTerminated
in interface ILocationChangedListener
protected void onDestroy()
protected void onActivityResult(int requestCode, int resultCode, android.content.Intent data)