GODPAPER | All Packages | All Classes | Index | Frames No Frames |
PartnerPay

Package | playerio
Interface | public interface PartnerPay

Provides access to the PartnerPay services provided by Player.IO.

Public Properties

| Property | Defined By
--- | --- | ---
|  | currentPartner : String [read-only] Get the current partner | PartnerPay

Public Methods

| Method | Defined By
--- | --- | ---
|  | setTag(partnerId:String, callback:Function = null, errorHandler:Function = null):void Sets (or changes) the partner id of the connected user | PartnerPay
|  | trigger(key:String, count:uint, callback:Function = null, errorHandler:Function = null):void Triggers a PartnerPay action | PartnerPay

Property Detail

currentPartner | property

`currentPartner:String` [read-only]

Get the current partner

Implementation
`public function get currentPartner():String`
Method Detail

setTag | () | method

`public function setTag(partnerId:String, callback:Function = null, errorHandler:Function = null):void`

Sets (or changes) the partner id of the connected user

Parameters

| `partnerId:String` — Function executed if the request is successful: function():void{...}
| `callback:Function` (default = `null`)`` — Function executed if the request failed: function(error:PlayerIOError):void{...}
| `errorHandler:Function` (default = `null`)``

trigger | () | method |

`public function trigger(key:String, count:uint, callback:Function = null, errorHandler:Function = null):void`

Triggers a PartnerPay action

Parameters

| `key:String` — Function executed if the request is successful: function():void{...}
| `count:uint` — Function executed if the request failed: function(error:PlayerIOError):void{...}
| `callback:Function` (default = `null`)``
| `errorHandler:Function` (default = `null`)``

Thu Jan 16 2014, 01:11 PM +08:00