Difference between revisions of "Flurry.startSession"

From GiderosMobile
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
'''Class:''' [[flurry]]<br/>
+
'''Class:''' [[Flurry]]<br/>
  
 
=== Description ===
 
=== Description ===
Line 9: Line 9:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  '''If the API key is nil or empty, your app may crash'''
+
  '''If the API key is nil or an empty string, your app may crash'''
  
 
To create an account on Flurry and to obtain the API key specific to your application, please visit https://www.flurry.com/ and follow the instructions there.
 
To create an account on Flurry and to obtain the API key specific to your application, please visit https://www.flurry.com/ and follow the instructions there.

Latest revision as of 21:27, 7 December 2023

Available since: Gideros 2011.6
Class: Flurry

Description

Starts the Flurry session with your API key.

flurry.startSession(apiKey)
If the API key is nil or an empty string, your app may crash

To create an account on Flurry and to obtain the API key specific to your application, please visit https://www.flurry.com/ and follow the instructions there.

You need to call this function once after your application starts. For example, init.lua is suitable to call this function.

Parameters

apiKey: (string) the Flurry API key