public final class

Actions

extends Object
java.lang.Object
   ↳ com.google.firebase.appindexing.builders.Actions

Class Overview

Provides convenience methods to construct common type of actions.

Summary

Public Constructors
Actions()
Public Methods
static Action newView(String name, String url)
Constructs a "view" action.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Actions ()

Public Methods

public static Action newView (String name, String url)

Constructs a "view" action.

Parameters
name String: The name of the object being viewed (e.g. the title of an article).
url String: The URL of the object that is viewed (this URL needs to be handled by the app to take the user to the right place).
Returns
Action