Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Morlunk/Jumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/aidl/com/morlunk/jumble/IJumbleService.aidl')
-rw-r--r--src/main/aidl/com/morlunk/jumble/IJumbleService.aidl14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/main/aidl/com/morlunk/jumble/IJumbleService.aidl b/src/main/aidl/com/morlunk/jumble/IJumbleService.aidl
index 1f11c84..aa5b70d 100644
--- a/src/main/aidl/com/morlunk/jumble/IJumbleService.aidl
+++ b/src/main/aidl/com/morlunk/jumble/IJumbleService.aidl
@@ -25,15 +25,20 @@ interface IJumbleService {
void disconnect();
boolean isConnected();
- // Data
+ // Session and users
int getSession();
+ User getSessionUser();
Server getConnectedServer();
- User getUserWithId(int id);
- Channel getChannelWithId(int id);
+ User getUser(int id);
+ Channel getChannel(int id);
List getUserList();
List getChannelList();
- // Actions
+ // Audio actions
+ int getTransmitMode();
+ void setTalkingState(boolean talking);
+
+ // Server actions
void joinChannel(int channel);
void createChannel(int parent, String name, String description, int position, boolean temporary);
//void setTexture(byte[] texture);
@@ -51,6 +56,7 @@ interface IJumbleService {
void setSelfMuteDeafState(boolean mute, boolean deaf);
//void announceRecordingState(boolean recording);
+ // Observation
void registerObserver(in IJumbleObserver observer);
void unregisterObserver(in IJumbleObserver observer);
} \ No newline at end of file