Skip to content

Options Term

Using this method, you have the ability to toggle the activation of individual modules within Obsly. By simply setting them to either "on" or "off," you can customize Obsly's behavior to align precisely with your preferences and requirements. This level of control allows you to tailor Obsly's functionality, ensuring that it aligns seamlessly with your desired usage.

setCrashesEnabled

Activate/Disable Crash module, with this option enabled all the crashes will be sent to the Obsly server.

public static void  setCrashesEnabled(boolean crashesEnabled)

setLifeCycleEnabled

Activate/Disable LifeCycle module, with this option enabled the Lifecycle of the fragments will be sent to the Obsly server.

public static void setLifeCycleEnabled(boolean lifeCycleEnabled)

setRequestEnabled

Activate/Disable http requests logging (no Okhttp requests), with this option enabled the http request will be sent to the Obsly server.

public static void setLifeCycleEnabled(boolean lifeCycleEnabled)

setTaggerEnabled

Activate/Disable custom tags , with this option enabled the custom tags will be sent to the Obsly server.

public static void setTaggerEnabled(boolean taggerEnabled)

setViewHierarchyEnabled

If enabled, the screen hierarchy will be sent for later visualization.

public void setViewHierarchyEnabled(boolean viewHierarchy)

setAutoTagsEnabled

When activated, the automatically created tags will be sent to the server.

public void setAutoTagsEnabled(boolean autoTagsEnabled)

setDebugMode

If enabled, debugging details will be displayed in the console.

public void setDebugMode(boolean debugMode)