Android 12 Developer Preview is here! Try it out, and give us your feedback!

ActionStripController

public class ActionStripController
extends Object

java.lang.Object
   ↳ com.google.android.libraries.car.app.testing.model.ActionStripController


A controller that allows testing of an ActionStrip.

This controller allows retrieving all Actions in the ActionStrip.

Summary

Public methods

ActionStrip get()

Retrieves the ActionStrip that this controller is controlling.

List<ActionController> getActions()

Retrieves all of the Actions added to the ActionStrip being controlled.

static ActionStripController of(ActionStrip actionStrip)

Creates an ActionStripController to control an ActionStrip for testing.

Inherited methods

Public methods

get

public ActionStrip get ()

Retrieves the ActionStrip that this controller is controlling.

Returns
ActionStrip

getActions

public List<ActionController> getActions ()

Retrieves all of the Actions added to the ActionStrip being controlled.

Returns
List<ActionController>

of

public static ActionStripController of (ActionStrip actionStrip)

Creates an ActionStripController to control an ActionStrip for testing.

Parameters
actionStrip ActionStrip

Returns
ActionStripController