| com.google.android.gms.plus.People |
This interface is deprecated.
This API may return empty results, even if the user consented to
SCOPE_PLUS_LOGIN. See below for suggested replacements.
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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use
GoogleSignInApi and
getSignInAccount()
instead.
| |||||||||||
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See
People for details.
| |||||||||||
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See
People for details.
| |||||||||||
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See
People for details.
| |||||||||||
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See
People for details.
| |||||||||||
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See
People for details.
| |||||||||||
This method is deprecated.
use GoogleSignInApi and
getSignInAccount()
instead.
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.
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See People for details.
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 |
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See People for details.
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 |
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See People for details.
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. |
|---|
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See People for details.
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. |
This method is deprecated.
In the future, you can possibly get empty data back even if user consented to the
required scopes. See People for details.
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. |