Type Function Return value none Revision Release 2024.3703 Keywords analytics, Flurry Analytics, endTimedEvent See also flurryAnalytics.startTimedEvent() flurryAnalytics.*
Use this function to explicitly end a timed event which was started with flurryAnalytics.startTimedEvent(). Additional event parameters can be passed as
Note that all timed events end automatically when the app exits.
flurryAnalytics.endTimedEvent( event [, params] )
String. The timed event to end.
Table. Table containing optional values associated with the event.
local flurryAnalytics = require( "plugin.flurry.analytics" ) local function flurryListener( event ) if ( event.phase == "init" ) then -- Successful initialization print( event.provider ) end end -- Initialize the Flurry plugin flurryAnalytics.init( flurryListener, { apiKey="YOUR_API_KEY" } ) -- Start a timed event flurryAnalytics.startTimedEvent( "Level 1", { skill="Beginner" } ) -- Sometime later, end the timed event flurryAnalytics.endTimedEvent( "Level 1", { skill="Beginner" } )