AccountManager.with_factory


Description:

[ CCode ( has_construct_function = false ) ]
public AccountManager.with_factory (SimpleClientFactory factory)

Convenience function to create a new account manager proxy.

The returned AccountManager is not guaranteed to be ready on return.

Should be used only by applications having their own SimpleClientFactory subclass. Usually this should be done at application startup and followed by a call to set_default to ensure other libraries/plugins will use this custom factory as well.

Parameters:

factory

a SimpleClientFactory

Returns:

a new reference to an account manager proxy