Difference between revisions of "Flurry.startSession"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Flurry]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/flurry|flurry]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Starts the Flurry session with your API key.
Starts the Flurry session with your API key. To create an account on Flurry and to obtain the API key specific to your application,<br />
 
please visit [http://www.flurry.com](http://www.flurry.com) and follow the instructions there.<br />
 
<br />
 
You need to call this function once after your application starts. For example, ''init.lua'' is suitable to call this function.<br />
 
<br /></translate>
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
flurry.startSession(apiKey)
+
flurry.startSession(apiKey)
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''apiKey''': (string) <translate>The Flurry API key.</translate> <br/>
+
'''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<br/>
  
 
{{Flurry}}
 
{{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