DebugInterface | Button SDK for Android v7.0.0

DebugInterface

com.usebutton.sdk.debug.DebugInterface

Class Overview

Button's interface to debugging related functionality. Enable debug logging during integration for more visibility.

Summary

Public Methods
abstract




boolean
abstract




boolean
abstract




void
abstract




void

Public Methods

public abstract boolean isLoggingEnabled()

Check if console logging is enabled.

Returns

public abstract boolean isVisualDebuggingEnabled()

Check if visual debugging is enabled.

Returns

public abstract void setLoggingEnabled(boolean enabled)

Enable or disable logging to the console. In most cases, this should be disabled in production builds.

Parameters

| enabled | true to enable logging |

public abstract void setVisualDebuggingEnabled(boolean enabled)

Enable or disable visual debugging aids e.g. for impression tracking

Parameters

| enabled | true to enable visual debugging |