public interface

AppIndexApi

com.google.android.gms.appindexing.AppIndexApi

This interface is deprecated.
Please Migrate to the Firebase App Indexing API

Summary

Nested Classes
interface AppIndexApi.ActionResult This interface is deprecated. Use start(GoogleApiClient, Action) and end(GoogleApiClient, Action).  
class AppIndexApi.AppIndexingLink This class is deprecated. No replacement. 
Public Methods
abstract AppIndexApi.ActionResult action(GoogleApiClient apiClient, Action action)
This method is deprecated. Use start(GoogleApiClient, Action) instead.
abstract PendingResult<Status> end(GoogleApiClient apiClient, Action action)
Indicates that the user has ended a specific action in your app.
abstract PendingResult<Status> start(GoogleApiClient apiClient, Action action)
Indicates that the user has started a specific action in your app.
abstract PendingResult<Status> view(GoogleApiClient apiClient, Activity activity, Intent viewIntent, String title, Uri webUrl, List<AppIndexApi.AppIndexingLink> outLinks)
This method is deprecated. Use start(GoogleApiClient, Action) instead.
abstract PendingResult<Status> view(GoogleApiClient apiClient, Activity activity, Uri appUri, String title, Uri webUrl, List<AppIndexApi.AppIndexingLink> outLinks)
This method is deprecated. Use start(GoogleApiClient, Action) instead.
abstract PendingResult<Status> viewEnd(GoogleApiClient apiClient, Activity activity, Intent viewIntent)
This method is deprecated. Use end(GoogleApiClient, Action) instead.
abstract PendingResult<Status> viewEnd(GoogleApiClient apiClient, Activity activity, Uri appUri)
This method is deprecated. Use start(GoogleApiClient, Action) instead.

Public Methods

public abstract AppIndexApi.ActionResult action (GoogleApiClient apiClient, Action action)

This method is deprecated.
Use start(GoogleApiClient, Action) instead.

Parameters
apiClient GoogleApiClient
action Action
Returns
AppIndexApi.ActionResult

public abstract PendingResult<Status> end (GoogleApiClient apiClient, Action action)

Indicates that the user has ended a specific action in your app.

This method should be called for instantaneous actions such as TYPE_BOOKMARK, TYPE_LIKE, TYPE_WANT.

Parameters
apiClient GoogleApiClient: The GoogleApiClient configured to use the API. The client should be connecting or connected.
action Action: The Action performed by the user within the app.
Returns
PendingResult<Status> The PendingResult which can optionally be used to determine if the call succeeded.

public abstract PendingResult<Status> start (GoogleApiClient apiClient, Action action)

Indicates that the user has started a specific action in your app.

Parameters
apiClient GoogleApiClient: The GoogleApiClient configured to use the API. The client should be connecting or connected.
action Action: The Action performed by the user within the app.
Returns
PendingResult<Status> The PendingResult which can optionally be used to determine if the call succeeded.

public abstract PendingResult<Status> view (GoogleApiClient apiClient, Activity activity, Intent viewIntent, String title, Uri webUrl, List<AppIndexApi.AppIndexingLink> outLinks)

This method is deprecated.
Use start(GoogleApiClient, Action) instead.

Parameters
apiClient GoogleApiClient
activity Activity
viewIntent Intent
title String
webUrl Uri
outLinks List
Returns
PendingResult<Status>

public abstract PendingResult<Status> view (GoogleApiClient apiClient, Activity activity, Uri appUri, String title, Uri webUrl, List<AppIndexApi.AppIndexingLink> outLinks)

This method is deprecated.
Use start(GoogleApiClient, Action) instead.

Parameters
apiClient GoogleApiClient
activity Activity
appUri Uri
title String
webUrl Uri
outLinks List
Returns
PendingResult<Status>

public abstract PendingResult<Status> viewEnd (GoogleApiClient apiClient, Activity activity, Intent viewIntent)

This method is deprecated.
Use end(GoogleApiClient, Action) instead.

Parameters
apiClient GoogleApiClient
activity Activity
viewIntent Intent
Returns
PendingResult<Status>

public abstract PendingResult<Status> viewEnd (GoogleApiClient apiClient, Activity activity, Uri appUri)

This method is deprecated.
Use start(GoogleApiClient, Action) instead.

Parameters
apiClient GoogleApiClient
activity Activity
appUri Uri
Returns
PendingResult<Status>