Code example for WifiP2pManager

Methods: removeGroup

0
		isLocalServiceRegistered = false;
	} 
	 
	public void disconnect() { 
		if (isConnected)
			wifiMgr.removeGroup(channel, new TaggedActionListener("removeGroup"));
	} 
	 
	public boolean isConnected() { 
		return isConnected;
	} 
	 
	public boolean isEnabled() { 
		return isEnabled;
	} 
	 
	public void stopWifiP2P() { 
		if (!isConnected){
			unregisterServiceRequest(); 
			stopDiscovery(); 
		}