AccountRequest.from_protocol


Description:

[ CCode ( has_construct_function = false ) ]
public AccountRequest.from_protocol (AccountManager account_manager, Protocol protocol, string display_name)

Convenience function to create a new AccountRequest object using a Protocol instance, instead of specifying connection manager and protocol name specifically.

See AccountRequest for more details.

Parameters:

account_manager

the AccountManager to create the account on

protocol

a Protocol

display_name

the user-visible name of this account

Returns:

a new reference to an account request object, or null if any argument is incorrect




2022 vala-language.org