Class: UiManager

  • The UiManager class provides an interface for managing the user interface of the Cast application.

  • The setSecondaryImage method allows developers to set a secondary image, specifying its position and URL.

Method

setSecondaryImage

setSecondaryImage(position, url)

Sets secondary image.

Parameter

position

cast.framework.ui.SecondaryImagePosition

The position where the secondary UI should be rendered.

Value must not be null.

url

string

The URL where the secondary image is hosted.