Packageplayerio
Interfacepublic interface PartnerPay

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



Public Properties
 PropertyDefined By
  currentPartner : String
[read-only] Get the current partner
PartnerPay
Public Methods
 MethodDefined 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
currentPartnerproperty
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)