Package com.battlelancer.seriesguide.api
Class Action.Builder
- java.lang.Object
-
- com.battlelancer.seriesguide.api.Action.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Actionbuild()Action.BuilderviewIntent(Intent viewIntent)
-
-
-
Constructor Detail
-
Builder
public Builder(String title, int entityIdentifier)
Builds an action with all required properties, ready tobuild(). Most extensions will want to add aviewIntent(android.content.Intent).- Parameters:
title- The title to be used for the user-visible button.entityIdentifier- The entity identifier of the update request this action is published for.
-
-
Method Detail
-
viewIntent
public Action.Builder viewIntent(Intent viewIntent)
-
build
public Action build()
-
-