Player.IO

Build fun, powerful & scalable online and mobile games with the reliable backend your users expect

Sign Up | Sign In

ActionScript3 Reference

actionscript 3 PartnerPay class informationClass PartnerPay

Namespace: playerio
Language: ActionScript 3

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

Properties

 
public
currentPartner :String [read-only]

Get the current partner

Methods

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

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

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

Triggers a PartnerPay action

PartnerPay.currentPartner

public
currentPartner :String [read-only]

Get the current partner

PartnerPay.setTag

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

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

Arguments

partnerId:String
callback:Function (Default = null)
Function executed if the request is successful: function():void{...}
errorHandler:Function (Default = null)

PartnerPay.trigger

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

Triggers a PartnerPay action

Arguments

key:String
count:uint
callback:Function (Default = null)
Function executed if the request is successful: function():void{...}
errorHandler:Function (Default = null)