Created
October 3, 2014 08:04
-
-
Save Jackyjjc/a5d0878de327d2a9d66b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//on the backend object you can call | |
void createUser(String userName); | |
void createRoom(User user, LatLng latLng, int accuracy, String roomName, int roomRadius); | |
void listRooms(User user, LatLng latLng, int accuracy); | |
void sendMessage(User user, Room room, String message); | |
//need to implement these to get information from the backend | |
@Override | |
public void onConnected() { | |
} | |
@Override | |
public void onDisconnected() { | |
} | |
@Override | |
public void onUserCreated(User user) { | |
} | |
@Override | |
public void onRoomCreated(Room room) { | |
} | |
@Override | |
public void onRoomListUpdate(List<Room> rooms) { | |
} | |
@Override | |
public void onMessageSent() { | |
} | |
@Override | |
public void onMessageReceived(String message) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment