set_uri_scheme_association_async


Description:

[ Version ( since = "0.13.8" ) ]
public async bool set_uri_scheme_association_async (string scheme, bool associate) throws Error

Add scheme to the list of additional URI schemes that would be returned by get_uri_schemes, or remove it from that list.

scheme should not be the primary URI scheme for the account's protocol (for instance, "xmpp" for XMPP, or "sip" or "sips" for SIP), since the account should be assumed to be useful for those schemes regardless of the contents of the list.

Calling this method does not require the TP_ACCOUNT_FEATURE_ADDRESSING feature to be enabled, but the change will not be reflected in the result of get_uri_schemes or associated_with_uri_scheme unless that feature has been enabled.

Parameters:

this

a Account

scheme

a non-%NULL URI scheme such as "tel"

associate

true to use this account for scheme, or false to not use it

callback

a callback to call when the request is satisfied

user_data

data to pass to callback




2022 vala-language.org