问题描述
一PlusClient实例的典型初始化从一个Android应用程序访问谷歌Plus是这样的:
The typical initialization of a PlusClient instance for accessing Google Plus from an Android app is something like this:
PlusClient mPlusClient = new PlusClient.Builder(this, this, this)
.setVisibleActivities("http://schemas.google.com/AddActivity",
"http://schemas.google.com/BuyActivity")
.build();
我不明白这一切的方法:
I do not understand at all this method:
http://developer.android.com/reference/com/google/android/gms/plus/PlusClient.Builder.html#setVisibleActivities(java.lang.String...)
我不知道这些是什么的活动类型,为什么他们在那里,它们是如何被使用的PlusClient,所以我不知道他们的,我应该在我的应用程序使用...
I do not know what are these "activity types", and why they are there, and how are they used by the PlusClient, so I do not know which of them I should use in my app...
推荐答案
最后,我意识到,这是从谷歌I / O 2013
Finally I realized that it's quite detailed at the end of this video from Google I/O 2013
https://www.youtube.com/watch?v=_KBHf1EODuk
从27:00
这篇关于什么setVisibleActivities方法呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!