What features are supported by Android's Google accounts authenticator?

后端 未结 1 1990
南方客
南方客 2021-01-18 00:37

The API documentation for the hasFeatures method of Android\'s AccountManager has the following to say about which features are supported by each a

1条回答
  •  终归单人心
    2021-01-18 01:02

    I still haven't found any official documentation but I have figured out the main use case, that of determining whether a Google account is associated with a specific Google service.

    There is a feature for each service and the feature name is of the form service_. Using this (possibly out-of-date) list of service code names for Google services, we can check for features such as service_lh2 (Picasa), service_groups2 (Google Groups) and service_mail (GMail).

    0 讨论(0)
提交回复
热议问题