Gcr.SecretExchange.prototype.get_protocol

function get_protocol(): String {
    // Gjs wrapper for gcr_secret_exchange_get_protocol()
}
  

Will return null if no protocol was specified, and either Gcr.SecretExchange.prototype.begin or Gcr.SecretExchange.prototype.receive have not been called successfully.

Returns

the protocol or null