# DownloadEvent

public class DownloadEvent

## Constructors

DownloadEvent
Link copied to clipboard
public void DownloadEvent(int event, Message message)
public void DownloadEvent(int event, Message message, int progress)
public void DownloadEvent(int event, Message message, ErrorCode code)
public void DownloadEvent(int event, Message message, int progress, ErrorCode code)

## Types

Event
Link copied to clipboard
@Retention(value = RetentionPolicy.SOURCE)
public @interface Event

## Properties

CANCEL
Link copied to clipboard
public final static int CANCEL
code
Link copied to clipboard
public ErrorCode code
ERROR
Link copied to clipboard
public final static int ERROR
event
Link copied to clipboard
public int event
message
Link copied to clipboard
public Message message
PAUSE
Link copied to clipboard
public final static int PAUSE
PROGRESS
Link copied to clipboard
public final static int PROGRESS
progress
Link copied to clipboard
public int progress
START
Link copied to clipboard
public final static int START
SUCCESS
Link copied to clipboard
public final static int SUCCESS

## Functions

getCode
Link copied to clipboard
public ErrorCode getCode()
getEvent
Link copied to clipboard
public int getEvent()
getMessage
Link copied to clipboard
public Message getMessage()
getProgress
Link copied to clipboard
public int getProgress()