Android的Google帐户身份验证器支持哪些功能?

Android的AccountManager的hasFeatures方法的 API documentation具有以下关于每个验证器支持哪些功能的说明:

Account features are authenticator-specific string tokens identifying
boolean account properties. For example,features are used to tell
whether Google accounts have a particular service (such as Google
Calendar or Google Talk) enabled. The feature names and their meanings
are published somewhere associated with the authenticator in question.

有没有人知道“与所涉及的身份验证器相关的某个地方”实际上是用于Google帐户的身份验证器?我想知道支持哪些功能.

解决方法

我还没有找到任何官方文档,但我已经找出了主要用例,即确定Google帐户是否与特定Google服务相关联.

每项服务都有一项功能,功能名称的格式为service_< service_code_name>.使用this (possibly out-of-date) list of service code names for Google服务,我们可以检查service_lh2(Picasa),service_groups2(Google网上论坛)和service_mail(GMail)等功能.

相关文章

Android 如何解决dialog弹出时无法捕捉Activity的back事件 在...
Android实现自定义带文字和图片的Button 在Android开发中经常...
Android 关于长按back键退出应用程序的实现最近在做一个Andr...
android自带的时间选择器只能精确到分,但是对于某些应用要求...