/// <summary> /// 広告を表示します /// </summary> /// <param name="spotid">スポットID</param> /// <param name="adType">AdType</param> /// <param name="left">水平方向の広告表示座標</param> /// <param name="top">垂直方向の広告表示座標</param> /// <param name="iconParams">IMobileIconParams</param> public static int show(string spotid, AdType adType, int left, int top, IMobileIconParams iconParams) { Rect adRect = IMobileSdkAdsViewUtility.getAdRect(left, top, adType, iconParams, false); return(show(spotid, adType, adRect, iconParams, false)); }
/// <summary> /// 広告を表示します /// </summary> /// <param name="spotid">スポットID</param> /// <param name="adType">AdType</param> /// <param name="alignPosition">AdAlignPosition</param> /// <param name="valignPosition">AdValignPosition</param> /// <param name="iconParams">IMobileIconParams</param> public static int show(string spotid, AdType adType, AdAlignPosition alignPosition, AdValignPosition valignPosition, IMobileIconParams iconParams) { Rect adRect = IMobileSdkAdsViewUtility.getAdRect(alignPosition, valignPosition, adType, iconParams, false); return(show(spotid, adType, adRect, iconParams, false)); }
/// <summary> /// 広告を表示します /// </summary> /// <param name="spotid">スポットID</param> /// <param name="adType">AdType</param> /// <param name="left">水平方向の広告表示座標</param> /// <param name="top">垂直方向の広告表示座標</param> /// <param name="sizeAdjust">sizeAdjust</param> public static int show(string spotid, AdType adType, int left, int top, bool sizeAdjust) { Rect adRect = IMobileSdkAdsViewUtility.getAdRect(left, top, adType, null, sizeAdjust); return(show(spotid, adType, adRect, null, sizeAdjust)); }
/// <summary> /// 広告を表示します /// </summary> /// <param name="spotid">スポットID</param> /// <param name="adType">AdType</param> /// <param name="alignPosition">AdAlignPosition</param> /// <param name="valignPosition">AdValignPosition</param> /// <param name="sizeAdjust">sizeAdjust</param> public static int show(string spotid, AdType adType, AdAlignPosition alignPosition, AdValignPosition valignPosition, bool sizeAdjust) { Rect adRect = IMobileSdkAdsViewUtility.getAdRect(alignPosition, valignPosition, adType, null, sizeAdjust); return(show(spotid, adType, adRect, null, sizeAdjust)); }