RealTimeLocationListener

public interface RealTimeLocationListener

Real-time location sharing listener.

Functions

Link copied to clipboard
public abstract void onError(RealTimeLocationErrorCode errorCode)
An error occurred during the location sharing process.
Link copied to clipboard
public abstract void onParticipantsJoin(String userId)
The other party has joined the location sharing.
Link copied to clipboard
public abstract void onParticipantsQuit(String userId)
The other party has exited location sharing.
Link copied to clipboard
public abstract void onReceiveLocation(double latitude, double longitude, String userId)
Receives location sharing information.
Link copied to clipboard
public abstract void onReceiveLocationWithType(double latitude, double longitude, RealTimeLocationType type, String userId)
Receives location sharing information.
Link copied to clipboard
public abstract void onStatusChange(RealTimeLocationStatus status)
The status of location sharing has changed.