ProgressEvent.smali

.class public Lcom/amazonaws/event/ProgressEvent;
.super Ljava/lang/Object;
.source "ProgressEvent.java"


# static fields
.field public static final CANCELED_EVENT_CODE:I = 0x10

.field public static final COMPLETED_EVENT_CODE:I = 0x4

.field public static final FAILED_EVENT_CODE:I = 0x8

.field public static final PART_COMPLETED_EVENT_CODE:I = 0x800

.field public static final PART_FAILED_EVENT_CODE:I = 0x1000

.field public static final PART_STARTED_EVENT_CODE:I = 0x400

.field public static final PREPARING_EVENT_CODE:I = 0x1

.field public static final RESET_EVENT_CODE:I = 0x20

.field public static final STARTED_EVENT_CODE:I = 0x2


# instance fields
.field protected bytesTransferred:J

.field protected eventCode:I


# direct methods
.method public constructor <init>(IJ)V
    .registers 4

    .line 3
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 4
    iput p1, p0, Lcom/amazonaws/event/ProgressEvent;->eventCode:I

    .line 5
    iput-wide p2, p0, Lcom/amazonaws/event/ProgressEvent;->bytesTransferred:J

    return-void
.end method

.method public constructor <init>(J)V
    .registers 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-wide p1, p0, Lcom/amazonaws/event/ProgressEvent;->bytesTransferred:J

    return-void
.end method


# virtual methods
.method public getBytesTransferred()J
    .registers 3

    .line 1
    iget-wide v0, p0, Lcom/amazonaws/event/ProgressEvent;->bytesTransferred:J

    return-wide v0
.end method

.method public getEventCode()I
    .registers 2

    .line 1
    iget v0, p0, Lcom/amazonaws/event/ProgressEvent;->eventCode:I

    return v0
.end method

.method public setBytesTransferred(J)V
    .registers 3

    .line 1
    iput-wide p1, p0, Lcom/amazonaws/event/ProgressEvent;->bytesTransferred:J

    return-void
.end method

.method public setEventCode(I)V
    .registers 2

    .line 1
    iput p1, p0, Lcom/amazonaws/event/ProgressEvent;->eventCode:I

    return-void
.end method