Difference between revisions of "Flurry.startSession"
From GiderosMobile
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[Flurry]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | < | + | Starts the Flurry session with your API key. |
− | + | <syntaxhighlight lang="lua"> | |
− | please visit | + | flurry.startSession(apiKey) |
− | + | </syntaxhighlight> | |
− | You need to call this function once after your application starts. For example, | + | |
− | + | '''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 === | === Parameters === | ||
− | '''apiKey''': (string) | + | '''apiKey''': (string) the Flurry API key<br/> |
+ | |||
+ | {{Flurry}} |
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