addOrientationListener abstract method

void addOrientationListener(
  1. OrientationListener listener
)

Adds an OrientationListener to the engine.

The listener is notified when a new orientation is available. Supports more than one listener. A listener is added only once.

  • listener The listener to be added.

Implementation

void addOrientationListener(OrientationListener listener);