-
@Deprecated(message = Internal use only. Do not use.) public class CXDebugConfig
Internal configuration for testing/debugging. Not part of public API.
-
-
Field Summary
Fields Modifier and Type Field Description private static CXInitServerinitServerprivate static BooleanforceTestModeprivate static StringpackageNameOverrideprivate static StringsyntheticBidResponseAssetPathprivate static List<Interceptor>debugHttpInterceptorspublic final static CXDebugConfigINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unitdeinitialize()Deinitializes the SDK and releases all resources. final static CXInitServergetInitServer()Override the initialization server. final static UnitsetInitServer(@Deprecated(message = Internal use only. Do not use.) CXInitServer initServer)Override the initialization server. final static BooleangetForceTestMode()Request a server-resolved test mode override. final static UnitsetForceTestMode(@Deprecated(message = Internal use only. Do not use.) Boolean forceTestMode)Request a server-resolved test mode override. final static StringgetPackageNameOverride()Override the Android package name sent in config and bid requests. final static UnitsetPackageNameOverride(@Deprecated(message = Internal use only. Do not use.) String packageNameOverride)Override the Android package name sent in config and bid requests. final static StringgetSyntheticBidResponseAssetPath()Optional debug-only asset path for returning a bundled synthetic bid response instead of hitting the network. final static UnitsetSyntheticBidResponseAssetPath(@Deprecated(message = Internal use only. Do not use.) String syntheticBidResponseAssetPath)Optional debug-only asset path for returning a bundled synthetic bid response instead of hitting the network. final static List<Interceptor>getDebugHttpInterceptors()Debug-only OkHttp interceptors installed on the shared SDK HTTP client. final static UnitsetDebugHttpInterceptors(@Deprecated(message = Internal use only. Do not use.) List<Interceptor> debugHttpInterceptors)Debug-only OkHttp interceptors installed on the shared SDK HTTP client. -
-
Method Detail
-
deinitialize
final static Unit deinitialize()
Deinitializes the SDK and releases all resources.
-
getInitServer
final static CXInitServer getInitServer()
Override the initialization server. Set before calling CloudX.initialize().
-
setInitServer
final static Unit setInitServer(@Deprecated(message = Internal use only. Do not use.) CXInitServer initServer)
Override the initialization server. Set before calling CloudX.initialize().
-
getForceTestMode
final static Boolean getForceTestMode()
Request a server-resolved test mode override. Set before calling CloudX.initialize().
This value is sent on the SDK init request as
forceTestMode. The server resolves it intodeviceConfig.test, and the SDK uses that returned server value for initialization.true: Request test mode onfalse: Request test mode offnull: Use server-controlled value (default)
-
setForceTestMode
final static Unit setForceTestMode(@Deprecated(message = Internal use only. Do not use.) Boolean forceTestMode)
Request a server-resolved test mode override. Set before calling CloudX.initialize().
This value is sent on the SDK init request as
forceTestMode. The server resolves it intodeviceConfig.test, and the SDK uses that returned server value for initialization.true: Request test mode onfalse: Request test mode offnull: Use server-controlled value (default)
-
getPackageNameOverride
final static String getPackageNameOverride()
Override the Android package name sent in config and bid requests. Set before calling CloudX.initialize().
non-null: Use this value instead of the actual package name
null: Use the actual package name (default)
-
setPackageNameOverride
final static Unit setPackageNameOverride(@Deprecated(message = Internal use only. Do not use.) String packageNameOverride)
Override the Android package name sent in config and bid requests. Set before calling CloudX.initialize().
non-null: Use this value instead of the actual package name
null: Use the actual package name (default)
-
getSyntheticBidResponseAssetPath
final static String getSyntheticBidResponseAssetPath()
Optional debug-only asset path for returning a bundled synthetic bid response instead of hitting the network. Intended for local renderer testing only.
non-null: Load the asset from the app's packaged assets in debug builds
null: Use normal network bid requests (default)
-
setSyntheticBidResponseAssetPath
final static Unit setSyntheticBidResponseAssetPath(@Deprecated(message = Internal use only. Do not use.) String syntheticBidResponseAssetPath)
Optional debug-only asset path for returning a bundled synthetic bid response instead of hitting the network. Intended for local renderer testing only.
non-null: Load the asset from the app's packaged assets in debug builds
null: Use normal network bid requests (default)
-
getDebugHttpInterceptors
final static List<Interceptor> getDebugHttpInterceptors()
Debug-only OkHttp interceptors installed on the shared SDK HTTP client.
Set before CloudX.initialize(). Intended for QA harness wire-boundary capture only; release builds ignore this list.
-
setDebugHttpInterceptors
final static Unit setDebugHttpInterceptors(@Deprecated(message = Internal use only. Do not use.) List<Interceptor> debugHttpInterceptors)
Debug-only OkHttp interceptors installed on the shared SDK HTTP client.
Set before CloudX.initialize(). Intended for QA harness wire-boundary capture only; release builds ignore this list.
-
-
-
-