-
public class OxRemoteConfigHelper
-
-
Method Summary
Modifier and Type Method Description static intgetEventLevel()打点等级。 static intgetDepthUserLevel()获取深度用户阈值。 static intgetAllowedKeywordType()允许需要设置给 Applovin 的 Keywords。 static doublegetAdLtvMedium()ltv medium 阈值。 static doublegetAdLtvHigh()ltv high 阈值。 static intgetDaysOfNewUser()应用安装后的 n 天内,视为新增用户。 static StringgetUacCampaign()uac campaign 信息。 static booleanisMemoryLimitReached(String adFormat)是否达到内存限制。 static booleanisEventsBanned(int adFormatIndex)对应广告格式的打点是否被禁用。 static voidsaveGdprTool()static List<String>getKeywords()传给广告平台的关键字。 static StringgetRemoteString(@NonNull() String key, @Nullable() String fallback)static StringgetString(@NonNull() String key, String defaultValue)static doublegetDouble(@NonNull() String key, double defaultValue)static intgetInt(@NonNull() String key, int defaultValue)static booleangetBool(@NonNull() String key, boolean defaultValue)static StringgetDisableInterIds()被禁用插屏广告位ID。 static StringgetDisableRVIds()被禁用激励视频广告位ID。 static StringgetAddInterIds()动态添加插屏广告位ID。 static StringgetAddRVIds()动态添加激励视频广告位ID。 static StringgetNative2InterIds()Max native id 当插屏 ids static intgetParallelTasks()并行数 static intgetReloadTime()重试时间最大方次数,重试时间一般都是2的n次方,这里是动态获取n,默认是6 static StringgetNative2BannerId()重试时间最大方次数,重试时间一般都是2的n次方,这里是动态获取n,默认是6 static intgetGeoConsent()-1: 没有配置,0.默认配置,1. -
-
Method Detail
-
getEventLevel
static int getEventLevel()
打点等级。
-
getDepthUserLevel
static int getDepthUserLevel()
获取深度用户阈值。
-
getAllowedKeywordType
@IntRange(from = OxKeywordType.NONE, to = OxKeywordType.ALL) static int getAllowedKeywordType()
允许需要设置给 Applovin 的 Keywords。
-
getAdLtvMedium
static double getAdLtvMedium()
ltv medium 阈值。
-
getAdLtvHigh
static double getAdLtvHigh()
ltv high 阈值。
-
getDaysOfNewUser
static int getDaysOfNewUser()
应用安装后的 n 天内,视为新增用户。
-
getUacCampaign
static String getUacCampaign()
uac campaign 信息。
-
isMemoryLimitReached
static boolean isMemoryLimitReached(String adFormat)
是否达到内存限制。
-
isEventsBanned
static boolean isEventsBanned(int adFormatIndex)
对应广告格式的打点是否被禁用。
-
saveGdprTool
static void saveGdprTool()
-
getKeywords
@NonNull() static List<String> getKeywords()
传给广告平台的关键字。
-
getRemoteString
@Nullable() static String getRemoteString(@NonNull() String key, @Nullable() String fallback)
-
getDisableInterIds
static String getDisableInterIds()
被禁用插屏广告位ID。
-
getDisableRVIds
static String getDisableRVIds()
被禁用激励视频广告位ID。
-
getAddInterIds
static String getAddInterIds()
动态添加插屏广告位ID。
-
getAddRVIds
static String getAddRVIds()
动态添加激励视频广告位ID。
-
getNative2InterIds
static String getNative2InterIds()
Max native id 当插屏 ids
-
getParallelTasks
static int getParallelTasks()
并行数
-
getReloadTime
static int getReloadTime()
重试时间最大方次数,重试时间一般都是2的n次方,这里是动态获取n,默认是6
-
getNative2BannerId
static String getNative2BannerId()
重试时间最大方次数,重试时间一般都是2的n次方,这里是动态获取n,默认是6
-
getGeoConsent
static int getGeoConsent()
-1: 没有配置,0.默认配置,1. 目标区域配置。
-
-
-
-