KsyunAdSdkConfig getSdkConfig() { KsyunAdSdkConfig config = new KsyunAdSdkConfig(); config.setCloseBtnComingTimeOfRewardVideo(int.Parse(closeButtonShowTime)); config.setShowCloseBtnOfRewardVideo(closeButtonIsShow == 1 ? true : false); config.setSdkEnvironment(environment); config.setSdkDebugMode(true); config.setEnabeSdkRequestPermission(true); Log(config.convertToString()); return(config); }
public static void init(string appId, KsyunAdSdkConfig config) { //已经初始化,则返回 if (hasInit) { return; } //Unity接口层初始化 sdkInit(); //对应平台接口实现 mApiImplements.init(appId, "", config.convertToString()); }