Hmmm... This is not working for me. I have a Google Drive account configured. When I call GetAccounts(), the account is returned. But the account information I get doesn't include what we need.
We need the translated provider name (e.g. "Google Drive"), the icon name, and the DBus name (e.g. "com.canonical.StorageFramework.Provider.McloudProvider").
I can't get at this information through the methods provided by Account. I had a look at the returned dictionary, but it only contains authentication information.
How can I get at the three extra bits of info we need?
Hmmm... This is not working for me. I have a Google Drive account configured. When I call GetAccounts(), the account is returned. But the account information I get doesn't include what we need.
We need the translated provider name (e.g. "Google Drive"), the icon name, and the DBus name (e.g. "com.canonical. StorageFramewor k.Provider. McloudProvider" ).
I can't get at this information through the methods provided by Account. I had a look at the returned dictionary, but it only contains authentication information.
How can I get at the three extra bits of info we need?