setActive abstract method

void setActive(
  1. bool isActive
)

Set active state

Set the active state of the view. When active, the view will render video; when inactive, it will stop rendering to save resources.

  • isActive : Whether active

Implementation

void setActive(bool isActive);