What features are supported by Google Android Account Authenticator?

The API documentation for the hasFeatures method for Android AccountManager contains the following information about which features are supported by each authenticator:

Account functions are token identifiers specific to the boolean account properties authenticator. For example, functions are used to determine whether Google accounts have a specific service (for example, Google Calendar or Google Talk). Function names and their meanings are published somewhere related to the authenticator in question.

Does anyone have any ideas where "somewhere related to this authenticator" is actually used for the authenticator used for Google accounts? I would like to know what features are supported.

+7
source share
1 answer

I still have not found the official documentation, but I figured out the main use case: determining whether a Google account is associated with a specific Google service.

There is a function for each service, and the function name has the form service_<service_code_name> . Using this (possibly outdated) list of service code names for Google services, we can test functions such as service_lh2 (Picasa), service_groups2 (Google Groups) and service_mail (GMail).

+5
source

All Articles