Difference between revisions of "Flurry.startSession"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[flurry]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Starts the Flurry session with your API key. | |
− | Starts the Flurry session with your API key. | ||
− | |||
− | |||
− | |||
− | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | + | flurry.startSession(apiKey) | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | |
− | '''apiKey''': (string) | + | '''If the API key is nil or empty, 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<br/> | ||
{{Flurry}} | {{Flurry}} |
Revision as of 20:55, 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 empty, 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