BusySpinner

Extends Group

The BusySpinner node class is a simple widget that displays a continuously rotating bitmap. Since the BusySpinner node class uses an internal Poster node instance, the busy spinner bitmap can be specified by setting the internal Poster node uri field.

SimpleBusySpinner is a sample app that demonstrates usage of the BusySpinner.

Not all Roku Player hardware versions support arbitrary rotations. In particular, some hardware versions only support 90 degree rotation increments. In those cases, the icon will step through 90 degree, 180 degree, 270 degree and back to 0 degree rotations, rather than spin smoothly.

Fields


Field

Type

Default

Access Permission

Description

poster

Poster node

internal instance default

READ_WRITE

Set the uri field of the Poster node to select the bitmap for the busy spinner

control

option string

none

READ_WRITE

Sets the operational state of the busy spinner:

  • none: No operational state set. The busy spinner will run if not set to "stop".
  • start: Starts the busy spinner if not running.
  • stop: Stops the busy spinner if running.

clockwise

Boolean

true

READ_WRITE

Specifies whether the bitmap rotates in a clockwise or counterclockwise direction

spinInterval

time

2

READ_WRITE

The number of seconds to complete a 360-degree rotation of the spinner image. A value of 0 will cause the spinner to remain stationary and not spin

Sample app

BusySpinnerExample is a sample app demonstrating BusySpinner in action.