RealTimeLocationListener

public interface RealTimeLocationListener

实时位置共享监听。

Functions

Link copied to clipboard
public abstract void onError(RealTimeLocationErrorCode errorCode)
位置共享过程出现错误。
Link copied to clipboard
public abstract void onParticipantsJoin(String userId)
对方加入位置共享。
Link copied to clipboard
public abstract void onParticipantsQuit(String userId)
对方退出位置共享
Link copied to clipboard
public abstract void onReceiveLocation(double latitude, double longitude, String userId)
接收到位置共享信息。
Link copied to clipboard
public abstract void onReceiveLocationWithType(double latitude, double longitude, RealTimeLocationType type, String userId)
接收到位置共享信息。
Link copied to clipboard
public abstract void onStatusChange(RealTimeLocationStatus status)
位置共享状态发生改变。