request_name


Description:

[ Version ( since = "0.7.30" ) ]
public bool request_name (string well_known_name, bool idempotent) throws Error

Claim the given well-known name without queueing, allowing replacement or replacing an existing name-owner.

This makes a synchronous call to the bus daemon.

Parameters:

this

a TpDBusDaemon

well_known_name

a well-known name to acquire

idempotent

whether to consider it to be a success if this process already owns the name

Returns:

true if well_known_name was claimed, or false and sets error if an error occurred.




2022 vala-language.org