C# Class baidu.Baidu

Afficher le fichier Open project: unity-plugins/BaiDu-Unity-Plugin Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static Instance ( ) : Baidu
Résultat Baidu

initBaidu() public méthode

public initBaidu ( string appID, string bannerID, string fullID, string videoID ) : void
appID string
bannerID string
fullID string
videoID string
Résultat void

isInterstitialReady() public méthode

public isInterstitialReady ( ) : bool
Résultat bool

isVideoReady() public méthode

public isVideoReady ( ) : bool
Résultat bool

loadInterstitial() public méthode

public loadInterstitial ( ) : void
Résultat void

loadVideo() public méthode

public loadVideo ( ) : void
Résultat void

removeBanner() public méthode

public removeBanner ( ) : void
Résultat void

showBannerAbsolute() public méthode

public showBannerAbsolute ( AdSize size, int x, int y ) : void
size AdSize
x int
y int
Résultat void

showBannerRelative() public méthode

public showBannerRelative ( AdSize size, int position, int marginY ) : void
size AdSize
position int
marginY int
Résultat void

showInterstitial() public méthode

public showInterstitial ( ) : void
Résultat void

showVideo() public méthode

public showVideo ( ) : void
Résultat void