Skip to content

PRFLR/PRFLR.SDK.Android

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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);