setOrientationCallback method

void setOrientationCallback(
  1. Function orientationCallback
)

Implementation

void setOrientationCallback(Function orientationCallback) {
  this.orientationCallback = orientationCallback;
}