Gcr.SecretExchange.prototype.receive

function receive(exchange: String): Boolean {
    // Gjs wrapper for gcr_secret_exchange_receive()
}
  

Receive a string from the other side of secret exchange. This string will have been created by Gcr.SecretExchange.prototype.begin or Gcr.SecretExchange.prototype.send.

After this call completes successfully the value returned from Gcr.SecretExchange.prototype.get_secret will have changed.

exchange

the string received

Returns

whether the string was successfully parsed and received