connection_valid
Description:
Validates a given connection against a given Wi-Fi P2P peer to ensure that the connection may be activated with that peer.
The connection must match the this's address and in the future possibly other attributes.
Parameters:
this |
an WifiP2PPeer to validate |
connection |
an Connection to validate against this |
Returns:
true if the connection may be activated with this Wi-Fi P2P Peer, false if it cannot be. |