Actions

public final classActions extendsObject

Provides convenience methods to construct common type of actions.

Public Constructor Summary

Public Method Summary

staticAction
newView(String name,String url)
Constructs a "view" action.

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

publicActions()

Public Methods

public staticActionnewView(String name,String url)

Constructs a "view" action.

Parameters
nameThe name of the object being viewed (e.g. the title of an article).
urlThe URL of the object that is viewed (this URL needs to be handled by the app to take the user to the right place).

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.