Code example for BluetoothServerSocket

Methods: accept

0
	} 
 
	@Override 
	protected ClientInterface acceptClient() throws IOException  
	{ 
		return new BluetoothClient(this.mmServerSocket.accept());
	} 
 
	@Override 
	protected void onStop() throws IOException  
	{ 
		if(this.mmServerSocket != null)
			this.mmServerSocket.close();
		 
		this.mmServerSocket = null;
	} 
 
	@Override 
	protected void onStart() throws IOException  
	{ 
Experience pair programming with AI  Get Codota for Java