Code example for WifiP2pManager

Methods: cancelConnectstopPeerDiscovery

0
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	public void haltConnectionDiscovery() { 
		manager.stopPeerDiscovery(channel, null);
		manager.cancelConnect(channel, null);
	} 
 
	 
	/** 
	 * {@inheritDoc} 
	 */ 
	@Override 
	public List<WifiP2pDevice> getLinks() {
		return peerListener.devices;
	} 
 
	 
	/** 
Experience pair programming with AI  Get Codota for Java