AppIndexApi.ActionResult | Android Developers

Quicknav Quicknav
Links

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

Android Sites

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

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
public static interface

# AppIndexApi.ActionResult

com.google.android.gms.appindexing.AppIndexApi.ActionResult

This interface is deprecated.
Use `start(GoogleApiClient, Action)` and `end(GoogleApiClient, Action)`.

## Summary

Public Methods
abstract PendingResult<Status> | end(GoogleApiClient apiClient) Indicates that a user completed an action.
abstract PendingResult<Status> | getPendingResult() Represents the result of a call to the `action(GoogleApiClient, Action)` API.

## Public Methods

#### public abstract PendingResult<Status> end (GoogleApiClient apiClient)

Indicates that a user completed an action.

##### Parameters

apiClient | The `GoogleApiClient` configured to use the `API`. The client should be connecting or connected.

##### Returns

- The `PendingResult` which can optionally be used to determine if the call succeeded.

#### public abstract PendingResult<Status> getPendingResult ()

Represents the result of a call to the `action(GoogleApiClient, Action)` API.

##### Returns

- The `PendingResult` which can optionally be used to determine if the `action(GoogleApiClient, Action)` method succeeded.