public static final class Plus.PlusOptions.Builder extends Object

Public Constructors

public Plus.PlusOptions.Builder ()

Public Methods

public Plus.PlusOptions.Builder addActivityTypes (String... activityTypes)

Specify which user's app activity types can be written to Google+. This must be used with the SCOPE_PLUS_LOGIN OAuth 2.0 scope.

See Types of app activity for the full list of valid app activity types. Example usage:


activityTypes The user's app activity types that can be written to Google.

public Plus.PlusOptions build ()

public Plus.PlusOptions.Builder setServerClientId (String clientId)

Specify the optional 3rd party server client ID for offline auth.