Hide

Plus

public final class Plus extends Object
java.lang.Object
   ↳ com.google.android.gms.plus.Plus

The main entry point for Google+ integration.

Nested Class Summary

class Plus.PlusOptions API configuration parameters for Google+. 

Field Summary

public static final Api<Plus.PlusOptions> API Token to pass to addApi(Api) to enable the Google+ features.
public static final Account AccountApi Provides access to account management API methods.
public static final Moments MomentsApi Methods and interfaces related to moments in Google+.
public static final People PeopleApi Methods and interfaces related to people in Google+.
public static final Scope SCOPE_PLUS_LOGIN OAuth 2.0 scope for accessing the user's name, basic profile info, list of people in the user's circles, and writing app activities to Google.
public static final Scope SCOPE_PLUS_PROFILE OAuth 2.0 scope for accessing the user's Google+ profile data.

Fields

public static final Api<Plus.PlusOptions> API

Token to pass to addApi(Api) to enable the Google+ features.

To configure additional Google+ options, provide a Plus.PlusOptions object to addApi(Api).

public static final Account AccountApi

Provides access to account management API methods.

public static final Moments MomentsApi

Methods and interfaces related to moments in Google+.

public static final People PeopleApi

Methods and interfaces related to people in Google+.

public static final Scope SCOPE_PLUS_LOGIN

OAuth 2.0 scope for accessing the user's name, basic profile info, list of people in the user's circles, and writing app activities to Google.

When using this scope, your app will have access to:

  • the user's full name, profile picture, Google+ profile ID, age range, and language
  • people the user has circled, represented as a list of public profiles
  • any other publicly available information on the user's Google+ profile
  • write app activities (moments) to Google.

public static final Scope SCOPE_PLUS_PROFILE

OAuth 2.0 scope for accessing the user's Google+ profile data.