示例#1
0
 public void setTesting(Boolean test)
 {
     AppodealObjCBridge.AppodealSetTestingEnabled(test);
 }
示例#2
0
 public bool isInitialized(int adType)
 {
     return(AppodealObjCBridge.AppodealIsInitialized(adType));
 }
示例#3
0
 public bool show(int adTypes, string placement)
 {
     return(AppodealObjCBridge.AppodealShowAdforPlacement(nativeShowStyleForType(adTypes), placement));
 }
示例#4
0
 public void setSmartBanners(Boolean value)
 {
     AppodealObjCBridge.setSmartBanners(value);
 }
示例#5
0
 public void setBannerBackground(bool value)
 {
     AppodealObjCBridge.setBannerBackground(value);
 }
示例#6
0
 public void setCustomRule(string name, bool value)
 {
     AppodealObjCBridge.setCustomSegmentBool(name, value);
 }
示例#7
0
 public void setCustomRule(string name, double value)
 {
     AppodealObjCBridge.setCustomSegmentDouble(name, value);
 }
示例#8
0
        }                                           // handled by SDK

        public string getVersion()
        {
            return(AppodealObjCBridge.AppodealGetVersion());
        }
示例#9
0
 public void setUserId(string id)
 {
     AppodealObjCBridge.AppodealSetUserId(id);
 }
示例#10
0
 public void disableNetwork(String network, int adTypes)
 {
     AppodealObjCBridge.AppodealDisableNetworkForAdTypes(network, adTypes);
 }
示例#11
0
 public void disableLocationPermissionCheck()
 {
     AppodealObjCBridge.AppodealDisableLocationPermissionCheck();
 }
示例#12
0
 public void disableNetwork(String network)
 {
     AppodealObjCBridge.AppodealDisableNetwork(network);
 }
示例#13
0
 public void confirm(int adTypes)
 {
     AppodealObjCBridge.AppodealConfirmUsage(adTypes);
 }
示例#14
0
 public void setLogging(Boolean logging)
 {
     AppodealObjCBridge.AppodealSetDebugEnabled(logging);
 }
示例#15
0
 public void setAlcohol(int alcohol)
 {
     AppodealObjCBridge.AppodealSetUserAlcoholAttitude(alcohol);
 }
示例#16
0
 public void setAge(int age)
 {
     AppodealObjCBridge.AppodealSetUserAge(age);
 }
示例#17
0
 public void setSmoking(int smoking)
 {
     AppodealObjCBridge.AppodealSetUserSmokingAttitude(smoking);
 }
示例#18
0
 public void setBirthday(string bDay)
 {
     AppodealObjCBridge.AppodealSetUserBirthday(bDay);
 }
示例#19
0
 public void setCustomRule(string name, int value)
 {
     AppodealObjCBridge.setCustomSegmentInt(name, value);
 }
示例#20
0
 public void setEmail(String email)
 {
     AppodealObjCBridge.AppodealSetUserEmail(email);
 }
示例#21
0
 public void setCustomRule(string name, string value)
 {
     AppodealObjCBridge.setCustomSegmentString(name, value);
 }
示例#22
0
 public void setGender(int gender)
 {
     AppodealObjCBridge.AppodealSetUserGender(gender - 1);             // iOS Enum starts from 0
 }
示例#23
0
 public void setBannerAnimation(bool value)
 {
     AppodealObjCBridge.setBannerAnimation(value);
 }
示例#24
0
 public void setInterests(String interests)
 {
     AppodealObjCBridge.AppodealSetUserInterests(interests);
 }
示例#25
0
 public void initialize(string appKey, int adTypes, bool hasConsent)
 {
     AppodealObjCBridge.AppodealInitialize(appKey, nativeAdTypesForType(adTypes), hasConsent,
                                           Appodeal.getPluginVersion(), Appodeal.getUnityVersion());
 }
示例#26
0
 public void setOccupation(int occupation)
 {
     AppodealObjCBridge.AppodealSetUserOccupation(occupation - 1);
 }
示例#27
0
 public bool show(int adTypes)
 {
     return(AppodealObjCBridge.AppodealShowAd(nativeShowStyleForType(adTypes)));
 }
示例#28
0
 public void setRelation(int relation)
 {
     AppodealObjCBridge.AppodealSetUserRelationship(relation - 1);
 }
示例#29
0
 public bool showBannerView(int YAxis, int XGravity, string Placement)
 {
     return(AppodealObjCBridge.AppodealShowBannerAdViewforPlacement(YAxis, XGravity, Placement));
 }
示例#30
0
 public void setAutoCache(int adTypes, Boolean autoCache)
 {
     AppodealObjCBridge.AppodealSetAutocache(autoCache, nativeAdTypesForType(adTypes));
 }