# SendMediaEvent

public class SendMediaEvent

## Constructors

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

## Types

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

## Properties

ATTACH
Link copied to clipboard
public final static int ATTACH
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
PROGRESS
Link copied to clipboard
public final static int PROGRESS
progress
Link copied to clipboard
public int progress
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()