public SoundSettings getSoundSettings ( ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { SoundSettings request = new SoundSettings ( ) ; request . setType ( IQ . Type . get ) ; request . setTo ( workgroupJID ) ; return connection . createStanzaCollectorAndSend ( request ) . nextResultOrThrow ( ) ; }
Asks the workgroup for it s Sound Settings .