âš¡ Commands

Overview

Executing commands in your Roku TV application.

You can execute commands by specifying a rockCommand and the necessary parameters to an applicable control (such as the Rock ContentNode and Button).

Multiple Commands

Typically, commands will be fired one at a time. There may be cases where you'll want to fire two commands once. This can be done by separating the commands with a comma. For instance, you may want to set a context value and also navigate to a different page.

<Rock:ContentNode rockCommand="setContext, pushPage"
    rockPageGuid="0406785c-2c00-4553-931f-cbca5c338796?GroupId=12"
    rockContextKey="Campus"
    rockContextValue="FC0001DF-4F5E-45F3-B0EA-A780AF75E7E9" />

Table of Contents

The following pages display information on the commands applicable to the category.

Manage the flow of your application by pushing/popping views on to the stack.

Navigation

Media

Play videos and audio, track interactions and more.

Media

Utility

Useful commands that can be used to enhance various parts of your application.

Utility

Personal

Commands relating to a person, such as login or logout.

Personal