Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
  
  
  Summary
  
    
      | Enumerations | 
    
      | ErrorCode{Ok = 0,
 NoSettings = 1,
 NoSwappy = 2,
 InvalidDefaultFidelityParams = 3,
 NoFidelityParams = 4,
 TuningforkNotInitialized = 5,
 InvalidAnnotation = 6,
 InvalidInstrumentKey = 7,
 InvalidTraceHandle = 8,
 Timeout = 9,
 BadParameter = 10,
 B64EncodeFailed = 11,
 JniBadVersion = 12,
 JniBadThread = 13,
 JniBadEnv = 14,
 JniException = 15,
 JniBadJvm = 16,
 NoClearcut = 17,
 NoFidelityParamsInApk = 18,
 CouldntSaveOrDeleteFps = 19,
 PreviousUploadPending = 20,
 UploadTooFrequent = 21,
 NoSuchKey = 22,
 BadFileOperation = 23,
 BadSettings = 24,
 AlreadyInitialized = 25,
 NoSettingsAnnotationEnumSizes = 26,
 DownloadThreadAlreadyStarted = 27,
 GenerateTuningParametersError = 29,
 GenerateTuningParametersResponseNotSuccess = 30,
 NoMoreSpaceForLoadingTimeData = 31,
 NoMoreSpaceForFrameData = 32,
 InvalidLoadingHandle = 33,
 DuplicateStartLoadingEvent = 34,
 MeteredConnectionDisallowed = 35,
 PlatformNotSupported = 100,
 InvalidFidelity = 101,
 InvalidMode = 102
 }
 | enum All the error codes that can be returned by Tuning Fork functions.  | 
    
      | InstrumentationKeys{RawFrameTime = 64000,
 PacedFrameTime = 64001,
 CpuTime = 64002,
 GpuTime = 64003
 }
 | enum Instrument keys indicating time periods within a frame.  | 
    
      | LifecycleState{Uninitialized = 0,
 OnCreate = 1,
 OnStart = 2,
 OnStop = 3,
 OnDestroy = 4
 }
 | enum The set of states that the ReportLifecycleEvent method accepts.  | 
    
      | Submission{Undefined = 0,
 TimeBased = 1,
 TickBased = 2
 }
 | enum The set of submission types that the SetAggregationStrategyInterval method accepts.  | 
  
  
  
  Enumerations
  
  
  
  
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2022-10-05 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-05 UTC."],[],[]]