0
package android.view;
public final class Choreographer {
...
    public long getFrameTime() {
        return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS;
    }
...
}

I can't see the reason why I get the error message Error:(195, 50) error: cannot find symbol method getFrameTime() with Choreographer.getInstance().getFrameTime()

build.gradle

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
    minSdkVersion 21
    targetSdkVersion 23
seb
  • 4,279
  • 2
  • 25
  • 36

1 Answers1

1

Because the method is annotated with @Hide. Access through reflection is still possible though.

Community
  • 1
  • 1
darken
  • 807
  • 12
  • 25