| com.usebutton.sdk.debug.DebugInterface |
Button's interface to debugging related functionality. Enable debug logging during integration for more visibility.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
isLoggingEnabled()
Check if console logging is enabled.
| ||||||||||
| abstract boolean |
isVisualDebuggingEnabled()
Check if visual debugging is enabled.
| ||||||||||
| abstract void |
setLoggingEnabled(boolean enabled)
Enable or disable logging to the console.
| ||||||||||
| abstract void |
setVisualDebuggingEnabled(boolean enabled)
Enable or disable visual debugging aids e.g.
| ||||||||||
Check if console logging is enabled.
Check if visual debugging is enabled.
Enable or disable logging to the console. In most cases, this should be disabled in production builds.
| enabled | true to enable logging |
|---|
Enable or disable visual debugging aids e.g. for impression tracking
| enabled | true to enable visual debugging |
|---|