C# 클래스 admob.Admob

파일 보기 프로젝트 열기: unity-plugins/Unity-Admob 1 사용 예제들

공개 메소드들

메소드 설명
Instance ( ) : Admob
initAdmob ( string bannerID, string fullID ) : void
isInterstitialReady ( ) : bool
isRewardedVideoReady ( ) : bool
loadInterstitial ( ) : void
loadRewardedVideo ( string rewardedVideoID ) : void
removeBanner ( string instanceName = "defaultBanner" ) : void
removeNativeBanner ( string instanceName = "defaultNativeBanner" ) : void
setForChildren ( bool v ) : void
setTesting ( bool v ) : void
showBannerAbsolute ( AdSize size, int x, int y, string instanceName = "defaultBanner" ) : void
showBannerRelative ( AdSize size, int position, int marginY, string instanceName = "defaultBanner" ) : void
showInterstitial ( ) : void
showNativeBannerAbsolute ( AdSize size, int x, int y, string nativeBannerID, string instanceName = "defaultNativeBanner" ) : void
showNativeBannerRelative ( AdSize size, int position, int marginY, string nativeBannerID, string instanceName = "defaultNativeBanner" ) : void
showRewardedVideo ( ) : void

비공개 메소드들

메소드 설명
_kminitAdmob ( string bannerid, string fullid, AdmobAdCallBack callback ) : void
_kmisInterstitialReady ( ) : bool
_kmisRewardedVideoReady ( ) : bool
_kmloadInterstitial ( ) : void
_kmloadRewardedVideo ( string rewardedVideoID ) : void
_kmremoveBanner ( string instanceName ) : void
_kmremoveNativeBanner ( string instanceName ) : void
_kmsetForChildren ( bool v ) : void
_kmsetTesting ( bool v ) : void
_kmshowBannerAbsolute ( int width, int height, int x, int y, string instanceName ) : void
_kmshowBannerRelative ( int width, int height, int position, int marginY, string instanceName ) : void
_kmshowInterstitial ( ) : void
_kmshowNativeBannerAbsolute ( int width, int height, int x, int y, string nativeID, string instanceName ) : void
_kmshowNativeBannerRelative ( int width, int height, int position, int marginY, string nativeID, string instanceName ) : void
_kmshowRewardedVideo ( ) : void
onAdmobEventCallBack ( string adtype, string eventName, string msg ) : void
preInitAdmob ( ) : void

메소드 상세

Instance() 공개 정적인 메소드

public static Instance ( ) : Admob
리턴 Admob

initAdmob() 공개 메소드

public initAdmob ( string bannerID, string fullID ) : void
bannerID string
fullID string
리턴 void

isInterstitialReady() 공개 메소드

public isInterstitialReady ( ) : bool
리턴 bool

isRewardedVideoReady() 공개 메소드

public isRewardedVideoReady ( ) : bool
리턴 bool

loadInterstitial() 공개 메소드

public loadInterstitial ( ) : void
리턴 void

loadRewardedVideo() 공개 메소드

public loadRewardedVideo ( string rewardedVideoID ) : void
rewardedVideoID string
리턴 void

removeBanner() 공개 메소드

public removeBanner ( string instanceName = "defaultBanner" ) : void
instanceName string
리턴 void

removeNativeBanner() 공개 메소드

public removeNativeBanner ( string instanceName = "defaultNativeBanner" ) : void
instanceName string
리턴 void

setForChildren() 공개 메소드

public setForChildren ( bool v ) : void
v bool
리턴 void

setTesting() 공개 메소드

public setTesting ( bool v ) : void
v bool
리턴 void

showBannerAbsolute() 공개 메소드

public showBannerAbsolute ( AdSize size, int x, int y, string instanceName = "defaultBanner" ) : void
size AdSize
x int
y int
instanceName string
리턴 void

showBannerRelative() 공개 메소드

public showBannerRelative ( AdSize size, int position, int marginY, string instanceName = "defaultBanner" ) : void
size AdSize
position int
marginY int
instanceName string
리턴 void

showInterstitial() 공개 메소드

public showInterstitial ( ) : void
리턴 void

showNativeBannerAbsolute() 공개 메소드

public showNativeBannerAbsolute ( AdSize size, int x, int y, string nativeBannerID, string instanceName = "defaultNativeBanner" ) : void
size AdSize
x int
y int
nativeBannerID string
instanceName string
리턴 void

showNativeBannerRelative() 공개 메소드

public showNativeBannerRelative ( AdSize size, int position, int marginY, string nativeBannerID, string instanceName = "defaultNativeBanner" ) : void
size AdSize
position int
marginY int
nativeBannerID string
instanceName string
리턴 void

showRewardedVideo() 공개 메소드

public showRewardedVideo ( ) : void
리턴 void