PlusOneButton.OnPlusOneClickListener | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Languages
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
public static interface

# PlusOneButton.OnPlusOneClickListener

com.google.android.gms.plus.PlusOneButton.OnPlusOneClickListener

## Class Overview

A listener for +1 button clicks. Implement this interface and call `startActivityForResult(Intent, int)`.

## Summary

Public Methods
abstract void | onPlusOneClick(Intent intent) Called when the +1 button is clicked.

## Public Methods

#### public abstract void onPlusOneClick (Intent intent)

Called when the +1 button is clicked. Start the intent passed to this method to display the +1 confirmation dialog `Activity` with `startActivityForResult(Intent, int)`.

##### Parameters

intent | The intent to display the +1 confirmation dialog.