Skip to content

PRFLR/PRFLR.SDK.Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRFLR Android SDK

###How-to

  1. Download and add the library.

  2. In AndroidManifest.xml add the following to application section:

    <meta-data android:name="org.prflr.apikey" android:value="your_api_key"/>
  3. Run somethere in startup:

    PRFLR.init(context)
  4. Add timers wherever you need them:

    // Starts timer with name "timerName".
    PRFLR.begin(timerName);
    
    // Here we're doing something, which we want to measure
    
    // Stops and sends timer with additional info.
    PRFLR.end(timerName, info);