| Package | playerio |
| Interface | public interface PartnerPay |
| Property | Defined By | ||
|---|---|---|---|
| currentPartner : String [read-only]
Get the current partner
| PartnerPay | ||
| 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 | ||
| currentPartner | property |
currentPartner:String [read-only] Get the current partner
public function get currentPartner():String| setTag | () | method |
public function setTag(partnerId:String, callback:Function = null, errorHandler:Function = null):voidSets (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):voidTriggers 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) |