diff options
author | Andrew Comminos <andrewcomminos@gmail.com> | 2013-07-31 07:45:12 +0400 |
---|---|---|
committer | Andrew Comminos <andrewcomminos@gmail.com> | 2013-07-31 07:45:12 +0400 |
commit | 0003aa679da8422031ee260e20ed3e9e74a81452 (patch) | |
tree | 5b3f0f255b9f7ac85717109e452463d49d4d2176 /src/main/aidl | |
parent | f4ed3c399385e5b314b909eec6f9116b8bfbb1f8 (diff) |
Added more service protocol functionality.
Diffstat (limited to 'src/main/aidl')
-rw-r--r-- | src/main/aidl/com/morlunk/jumble/IJumbleService.aidl | 14 |
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 |