C# Class baidu.Baidu

ファイルを表示 Open project: unity-plugins/BaiDu-Unity-Plugin Class Usage Examples

Public Methods

Method Description
Instance ( ) : Baidu
initBaidu ( string appID, string bannerID, string fullID, string videoID ) : void
isInterstitialReady ( ) : bool
isVideoReady ( ) : bool
loadInterstitial ( ) : void
loadVideo ( ) : void
removeBanner ( ) : void
showBannerAbsolute ( AdSize size, int x, int y ) : void
showBannerRelative ( AdSize size, int position, int marginY ) : void
showInterstitial ( ) : void
showVideo ( ) : void

Private Methods

Method Description
_kminitBaidu ( string appid, string bannerid, string fullid, string videoid, BaiduAdCallBack callback ) : void
_kmisInterstitialReady ( ) : bool
_kmloadInterstitial ( ) : void
_kmremoveBanner ( ) : void
_kmshowBannerAbsolute ( int width, int height, int x, int y ) : void
_kmshowBannerRelative ( int width, int height, int position, int marginY ) : void
_kmshowInterstitial ( ) : void
onBaiduEventCallBack ( string adtype, string eventName, string msg ) : void
preInitBaidu ( ) : void

Method Details

Instance() public static method

public static Instance ( ) : Baidu
return Baidu

initBaidu() public method

public initBaidu ( string appID, string bannerID, string fullID, string videoID ) : void
appID string
bannerID string
fullID string
videoID string
return void

isInterstitialReady() public method

public isInterstitialReady ( ) : bool
return bool

isVideoReady() public method

public isVideoReady ( ) : bool
return bool

loadInterstitial() public method

public loadInterstitial ( ) : void
return void

loadVideo() public method

public loadVideo ( ) : void
return void

removeBanner() public method

public removeBanner ( ) : void
return void

showBannerAbsolute() public method

public showBannerAbsolute ( AdSize size, int x, int y ) : void
size AdSize
x int
y int
return void

showBannerRelative() public method

public showBannerRelative ( AdSize size, int position, int marginY ) : void
size AdSize
position int
marginY int
return void

showInterstitial() public method

public showInterstitial ( ) : void
return void

showVideo() public method

public showVideo ( ) : void
return void