com.google.android.gms.plus.People |
Methods and interfaces related to people in Google+.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
People.LoadPeopleResult | Information about the set of people that was loaded. | ||||||||||
People.OrderBy | Constants to declare the order to return people in. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns profile information for the current user.
| |||||||||||
Loads a list of specified people.
| |||||||||||
Loads a list of specified people.
| |||||||||||
Loads a list of visible people in the authenticated user’s circles that are signed into the
same app with Google+.
| |||||||||||
Loads the list of visible people in the user's circles.
| |||||||||||
Loads the list of visible people in the user's circles.
|
Returns profile information for the current user. For more information, see: https://developers.google.com/+/api/latest/people/get.
This method can return null
if the required scopes weren't specified in the
GoogleApiClient.Builder
, or if there was a network error while
connecting.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
or SCOPE_PLUS_PROFILE
googleApiClient | The GoogleApiClient to service the call. |
---|
null
otherwise.
Loads a list of specified people.
This call returns all information in Person
, but only for the people
specified and for data that is public in their profiles.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
googleApiClient | The GoogleApiClient to service the cal
l. |
---|---|
personIds | The ids of people to load. This should match the user id that would be sent to https://developers.google.com/+/api/latest/people/get |
Loads a list of specified people.
This call returns all information in Person
, but only for the people
specified and for data that is public in their profiles.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
googleApiClient | The GoogleApiClient to service the call. |
---|---|
personIds | The IDs of people to load. This should match the user id that would be sent to https://developers.google.com/+/api/latest/people/get |
Loads a list of visible people in the authenticated user’s circles that are signed into the same app with Google+. For more information, see: https://developers.google.com/+/api/latest/people/list.
Each Person
will contain the id
, displayName
,
image
, objectType
, and url
fields populated.
To retrieve additional profile data, use the load(GoogleApiClient, String...)
method.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
googleApiClient | The GoogleApiClient to service the call.
|
---|
Loads the list of visible people in the user's circles. For more information, see: https://developers.google.com/+/api/latest/people/list.
Each Person
will contain the id
, displayName
,
image
, objectType
, and url
fields populated.
To retrieve additional profile data, use the load(GoogleApiClient, String...)
method.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
googleApiClient | The GoogleApiClient to service the call. |
---|---|
pageToken | Result of getNextPageToken() to get the next page of
data. Pass in null to get the first page. |
Loads the list of visible people in the user's circles. For more information, see: https://developers.google.com/+/api/latest/people/list.
Each Person
will contain the id
, displayName
,
image
, objectType
, and url
fields populated.
To retrieve additional profile data, use the load(GoogleApiClient, String...)
method.
Required API: API
Required Scopes: SCOPE_PLUS_LOGIN
googleApiClient | The GoogleApiClient to service the call. |
---|---|
orderBy | The order to return people in. Valid values are:
|
pageToken | Result of getNextPageToken() to get the next page of
data. Pass in null to get the first page. |