TBSuspendMonitor.smali
.class public Lcom/taboola/android/monitor/TBSuspendMonitor;
.super Lcom/taboola/android/monitor/TBSdkFeature;
.source "TBSuspendMonitor.java"
# static fields
.field public static final KEY:I = 0x2
.field public static final SHOULD_SUSPEND:Ljava/lang/String; = "shouldSuspend"
# instance fields
.field private shouldSuspend:Z
# direct methods
.method public constructor <init>()V
.registers 2
const/4 v0, 0x2
.line 15
invoke-direct {p0, v0}, Lcom/taboola/android/monitor/TBSdkFeature;-><init>(I)V
return-void
.end method
# virtual methods
.method protected initFromJSON(Lorg/json/JSONObject;)V
.registers 3
const-string v0, "shouldSuspend"
.line 20
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;)Z
move-result p1
iput-boolean p1, p0, Lcom/taboola/android/monitor/TBSuspendMonitor;->shouldSuspend:Z
return-void
.end method
.method public isShouldSuspend()Z
.registers 2
.line 24
iget-boolean v0, p0, Lcom/taboola/android/monitor/TBSuspendMonitor;->shouldSuspend:Z
return v0
.end method
.method public setShouldSuspend(Z)V
.registers 2
.line 28
iput-boolean p1, p0, Lcom/taboola/android/monitor/TBSuspendMonitor;->shouldSuspend:Z
return-void
.end method