Difference between revisions of "Flurry"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
 
 
<!-- GIDEROSOBJ:flurry -->
 
<!-- GIDEROSOBJ:flurry -->
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]]<br/>
+
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
This table stores all the functions related to Flurry analytics library.<br />
+
This table stores all the functions related to Flurry analytics library.
<br />
+
 
Flurry is available only for iOS as an external plugin. To use flurry:<br />
+
Flurry is available only for iOS as an external plugin. To use flurry:
<br />
+
# Create an account on [http://www.flurry.com](http://www.flurry.com) and follow the instructions about creating a new application
1. Create an account on [http://www.flurry.com](http://www.flurry.com) and follow the instructions about creating a new application.<br />
+
# Download Flurry header and libraries and add them to your Xcode project
2. Download Flurry header and libraries and add them to your Xcode project.<br />
+
# Add {Gideros Installation Directory}/All Plugins/Flurry/source/iOS/flurry.mm file to your Xcode project
3. Add {Gideros Installation Directory}/All Plugins/Flurry/source/iOS/flurry.mm file to your Xcode project.<br />
+
 
<br />
+
To load the Flurry library:
To load the Flurry library, call ''require &quot;flurry&quot;''.<br />
+
<source lang="lua">
<br /></translate>
+
require "flurry"
 +
</source>
 +
 
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Methods</translate> ===
+
=== Methods ===
[[Special:MyLanguage/flurry.endTimedEvent|flurry.endTimedEvent]] ''<translate>ends Flurry timed event</translate>''<br/><!-- GIDEROSMTD:flurry.endTimedEvent(eventName,parameters) ends Flurry timed event -->
+
[[flurry.endTimedEvent]] ''ends Flurry timed event''<br/><!--GIDEROSMTD:flurry.endTimedEvent(eventName,parameters) ends Flurry timed event-->
[[Special:MyLanguage/flurry.isAvailable|flurry.isAvailable]] ''<translate>returns true if Flurry is available</translate>''<br/><!-- GIDEROSMTD:flurry.isAvailable() returns true if Flurry is available -->
+
[[flurry.isAvailable]] ''returns true if Flurry is available''<br/><!--GIDEROSMTD:flurry.isAvailable() returns true if Flurry is available-->
[[Special:MyLanguage/flurry.logEvent|flurry.logEvent]] ''<translate>logs Flurry event</translate>''<br/><!-- GIDEROSMTD:flurry.logEvent(eventName,parameters,timed) logs Flurry event -->
+
[[flurry.logEvent]] ''logs Flurry event''<br/><!--GIDEROSMTD:flurry.logEvent(eventName,parameters,timed) logs Flurry event-->
[[Special:MyLanguage/flurry.startSession|flurry.startSession]] ''<translate>starts the Flurry session with your API key</translate>''<br/><!-- GIDEROSMTD:flurry.startSession(apiKey) starts the Flurry session with your API key -->
+
[[flurry.startSession]] ''starts the Flurry session with your API key''<br/><!--GIDEROSMTD:flurry.startSession(apiKey) starts the Flurry session with your API key-->
 +
 
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Events</translate> ===
+
=== Events ===
=== <translate>Constants</translate> ===
+
=== Constants ===
 
|}
 
|}
  
 
{{GIDEROS IMPORTANT LINKS}}
 
{{GIDEROS IMPORTANT LINKS}}

Revision as of 22:22, 14 November 2022

Supported platforms: Platform android.pngPlatform ios.png
Available since: Gideros 2011.6

Description

This table stores all the functions related to Flurry analytics library.

Flurry is available only for iOS as an external plugin. To use flurry:

  1. Create an account on [1](http://www.flurry.com) and follow the instructions about creating a new application
  2. Download Flurry header and libraries and add them to your Xcode project
  3. Add {Gideros Installation Directory}/All Plugins/Flurry/source/iOS/flurry.mm file to your Xcode project

To load the Flurry library:

require "flurry"

Methods

flurry.endTimedEvent ends Flurry timed event
flurry.isAvailable returns true if Flurry is available
flurry.logEvent logs Flurry event
flurry.startSession starts the Flurry session with your API key

Events

Constants