Package 

Object CXDebugConfig


  • @Deprecated(message = Internal use only. Do not use.) 
    public class CXDebugConfig
    
                        

    Internal configuration for testing/debugging. Not part of public API.

    • 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 into deviceConfig.test, and the SDK uses that returned server value for initialization.

        • true: Request test mode on

        • false: Request test mode off

        • null: 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 into deviceConfig.test, and the SDK uses that returned server value for initialization.

        • true: Request test mode on

        • false: Request test mode off

        • null: 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.