コード例 #1
0
        private YumiNativeData GetNativeAdData(string adUniqueId)
        {
            YumiNativeData nativeAdData = new YumiNativeData
            {
                uniqueId        = adUniqueId,
                title           = YumiExterns.YumiNativeAdBridgeGetTitle(this.NativeAdPtr, adUniqueId),
                desc            = YumiExterns.YumiNativeAdBridgeGetDesc(this.NativeAdPtr, adUniqueId),
                iconURL         = YumiExterns.YumiNativeAdBridgeGetIconUrl(this.NativeAdPtr, adUniqueId),
                coverImageURL   = YumiExterns.YumiNativeAdBridgeGetCoverImageURL(this.NativeAdPtr, adUniqueId),
                callToAction    = YumiExterns.YumiNativeAdBridgeGetCallToAction(this.NativeAdPtr, adUniqueId),
                price           = YumiExterns.YumiNativeAdBridgeGetPrice(this.NativeAdPtr, adUniqueId),
                starRating      = YumiExterns.YumiNativeAdBridgeGetStarRating(this.NativeAdPtr, adUniqueId),
                other           = YumiExterns.YumiNativeAdBridgeGetOther(this.NativeAdPtr, adUniqueId),
                isExpressAdView = YumiExterns.YumiNativeAdBridgeIsExpressAdView(NativeAdPtr, adUniqueId)
            };

            return(nativeAdData);
        }