AppIndexApi Stay organized with collections Save and categorize content based on your preferences.
This interface is deprecated.
PleaseMigrate to the Firebase App Indexing API
Nested Class Summary
| interface | AppIndexApi.ActionResult | This interface is deprecated. Use AppIndexApi.start(GoogleApiClient, Action) and AppIndexApi.end(GoogleApiClient, Action). | |
| class | AppIndexApi.AppIndexingLink | This class is deprecated. No replacement. | |
Public Method Summary
| 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 abstractAppIndexApi.ActionResultaction(GoogleApiClient apiClient,Action action)
This method is deprecated.
Use start(GoogleApiClient, Action) instead.
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 asAction.TYPE_BOOKMARK,Action.TYPE_LIKE,Action.TYPE_WANT.
Parameters
| apiClient | The GoogleApiClient configured to use theAppIndex.API. The client should be connecting or connected. |
|---|---|
| action | TheAction performed by the user within the app. |
Returns
- The
PendingResultwhich 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 | The GoogleApiClient configured to use theAppIndex.API. The client should be connecting or connected. |
|---|---|
| action | TheAction performed by the user within the app. |
Returns
- The
PendingResultwhich 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.
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.
public abstract PendingResult<Status>viewEnd(GoogleApiClient apiClient,Activity activity,Intent viewIntent)
This method is deprecated.
Use end(GoogleApiClient, Action) instead.
public abstract PendingResult<Status>viewEnd(GoogleApiClient apiClient,Activity activity,Uri appUri)
This method is deprecated.
Use start(GoogleApiClient, Action) instead.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.