code: public void setRefreshFrequency(IntervalFrequency frequency) {
          if (NONE_REFRESH_INTERVAL == mRefreshInterval && IntervalFrequency.NONE != frequency) {
              // Install draw-frame listener if frequency is no longer NONE
              getGVRContext().unregisterDrawFrameListener(mFrameListener);
              getGVRContext().registerDrawFrameListener(mFrameListener);
          }
          switch (frequency) {
              case REALTIME:
                  mRefreshInterval = REALTIME_REFRESH_INTERVAL;
                  break;
              case HIGH:
                  mRefreshInterval = HIGH_REFRESH_INTERVAL;
                  break;
              case MEDIUM:
                  mRefreshInterval = MEDIUM_REFRESH_INTERVAL;
                  break;
              case LOW:
                  mRefreshInterval = LOW_REFRESH_INTERVAL;
                  break;
              case NONE:
                  mRefreshInterval = NONE_REFRESH_INTERVAL;
                  break;
              default:
                  break;
          }
      }
docs: Set the refresh frequency of this scene object.
  Use NONE for improved performance when the text is set initially and never
  changed.
  
  @param frequency
  The refresh frequency of this TextViewSceneObject.