connection_valid


Description:

[ 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.

Parameters:

this

an WifiP2PPeer to validate connection against

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.




2022 vala-language.org