[ Version ( since = "1.16" ) ]
public bool connection_valid (Connection connection)
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.
this |
an WifiP2PPeer to validate |
connection |
an Connection to validate against this |
true if the connection may be activated with this Wi-Fi P2P Peer, false if it cannot be. |