C# Class AdColony, AdColony-Unity-SDK

Inheritance: MonoBehaviour
Show file Open project: AdColony/AdColony-Unity-SDK Class Usage Examples

Public Properties

Property Type Description
OnAdAvailabilityChange AdAvailabilityChangeDelegate
OnV4VCResult V4VCResultDelegate
OnVideoFinished VideoFinishedDelegate
OnVideoFinishedWithInfo VideoFinishedWithInfoDelegate
OnVideoStarted VideoStartedDelegate
version string

Public Methods

Method Description
AndroidGetOpenUDID ( ) : string
Configure ( string app_version, string app_id ) : void
GetAvailableViews ( string zone_id ) : int
GetCustomID ( ) : string
GetDeviceID ( ) : string
GetODIN1 ( ) : string
GetOpenUDID ( ) : string
GetV4VCAmount ( ) : int
GetV4VCAmount ( string zone_id ) : int
GetV4VCName ( ) : string
GetV4VCName ( string zone_id ) : string
IsV4VCAvailable ( ) : bool
IsV4VCAvailable ( string zone_id ) : bool
IsVideoAvailable ( ) : bool
IsVideoAvailable ( string zone_id ) : bool
NotifyIAPComplete ( string product_id, string trans_id, string currency_code, double price, int quantity ) : void
OfferV4VC ( bool popup_result ) : void
OfferV4VC ( bool popup_result, string zone_id ) : void
OnAdColonyAdAvailabilityChange ( string args ) : void
OnAdColonyV4VCResult ( string args ) : void
OnAdColonyVideoFinished ( string args ) : void
OnAdColonyVideoStarted ( string args ) : void
SetCustomID ( string custom_id ) : void
ShowV4VC ( bool popup_result ) : bool
ShowV4VC ( bool popup_result, string zone_id ) : bool
ShowVideoAd ( ) : bool
ShowVideoAd ( string zone_id ) : bool
StatusForZone ( string zone_id ) : string

Private Methods

Method Description
AndroidConfigure ( string app_version, string app_id, string zone_ids ) : void
AndroidInitializePlugin ( ) : void
Awake ( ) : void
IOSConfigure ( string app_version, string app_id, int zone_id_count, string zone_ids ) : void
SetOption ( string option, bool val ) : void
ensureInstance ( ) : void

Method Details

AndroidGetOpenUDID() public static method

public static AndroidGetOpenUDID ( ) : string
return string

Configure() public static method

public static Configure ( string app_version, string app_id ) : void
app_version string
app_id string
return void

GetAvailableViews() public static method

public static GetAvailableViews ( string zone_id ) : int
zone_id string
return int

GetCustomID() public static method

public static GetCustomID ( ) : string
return string

GetDeviceID() public static method

public static GetDeviceID ( ) : string
return string

GetODIN1() public static method

public static GetODIN1 ( ) : string
return string

GetOpenUDID() public static method

public static GetOpenUDID ( ) : string
return string

GetV4VCAmount() public static method

public static GetV4VCAmount ( ) : int
return int

GetV4VCAmount() public static method

public static GetV4VCAmount ( string zone_id ) : int
zone_id string
return int

GetV4VCName() public static method

public static GetV4VCName ( ) : string
return string

GetV4VCName() public static method

public static GetV4VCName ( string zone_id ) : string
zone_id string
return string

IsV4VCAvailable() public static method

public static IsV4VCAvailable ( ) : bool
return bool

IsV4VCAvailable() public static method

public static IsV4VCAvailable ( string zone_id ) : bool
zone_id string
return bool

IsVideoAvailable() public static method

public static IsVideoAvailable ( ) : bool
return bool

IsVideoAvailable() public static method

public static IsVideoAvailable ( string zone_id ) : bool
zone_id string
return bool

NotifyIAPComplete() public static method

public static NotifyIAPComplete ( string product_id, string trans_id, string currency_code, double price, int quantity ) : void
product_id string
trans_id string
currency_code string
price double
quantity int
return void

OfferV4VC() public static method

public static OfferV4VC ( bool popup_result ) : void
popup_result bool
return void

OfferV4VC() public static method

public static OfferV4VC ( bool popup_result, string zone_id ) : void
popup_result bool
zone_id string
return void

OnAdColonyAdAvailabilityChange() public method

public OnAdColonyAdAvailabilityChange ( string args ) : void
args string
return void

OnAdColonyV4VCResult() public method

public OnAdColonyV4VCResult ( string args ) : void
args string
return void

OnAdColonyVideoFinished() public method

public OnAdColonyVideoFinished ( string args ) : void
args string
return void

OnAdColonyVideoStarted() public method

public OnAdColonyVideoStarted ( string args ) : void
args string
return void

SetCustomID() public static method

public static SetCustomID ( string custom_id ) : void
custom_id string
return void

ShowV4VC() public static method

public static ShowV4VC ( bool popup_result ) : bool
popup_result bool
return bool

ShowV4VC() public static method

public static ShowV4VC ( bool popup_result, string zone_id ) : bool
popup_result bool
zone_id string
return bool

ShowVideoAd() public static method

public static ShowVideoAd ( ) : bool
return bool

ShowVideoAd() public static method

public static ShowVideoAd ( string zone_id ) : bool
zone_id string
return bool

StatusForZone() public static method

public static StatusForZone ( string zone_id ) : string
zone_id string
return string

Property Details

OnAdAvailabilityChange public static property

public static AdAvailabilityChangeDelegate OnAdAvailabilityChange
return AdAvailabilityChangeDelegate

OnV4VCResult public static property

public static V4VCResultDelegate OnV4VCResult
return V4VCResultDelegate

OnVideoFinished public static property

public static VideoFinishedDelegate OnVideoFinished
return VideoFinishedDelegate

OnVideoFinishedWithInfo public static property

public static VideoFinishedWithInfoDelegate OnVideoFinishedWithInfo
return VideoFinishedWithInfoDelegate

OnVideoStarted public static property

public static VideoStartedDelegate OnVideoStarted
return VideoStartedDelegate

version public static property

public static string version
return string