public class ImageLoadEvent extends Event<ImageLoadEvent>
Modifier and Type | Field and Description |
---|---|
static int |
ON_ERROR |
static int |
ON_LOAD |
static int |
ON_LOAD_END |
static int |
ON_LOAD_START |
static int |
ON_PROGRESS |
Constructor and Description |
---|
ImageLoadEvent(int viewId,
int eventType) |
ImageLoadEvent(int viewId,
int eventType,
java.lang.String imageUri) |
ImageLoadEvent(int viewId,
int eventType,
java.lang.String imageUri,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(RCTEventEmitter rctEventEmitter)
Dispatch this event to JS using the given event emitter.
|
static java.lang.String |
eventNameForType(int eventType) |
short |
getCoalescingKey() |
java.lang.String |
getEventName() |
canCoalesce, coalesce, getTimestampMs, getUniqueID, getViewTag, init, onDispose
public static final int ON_ERROR
public static final int ON_LOAD
public static final int ON_LOAD_END
public static final int ON_LOAD_START
public static final int ON_PROGRESS
public ImageLoadEvent(int viewId, int eventType)
public ImageLoadEvent(int viewId, int eventType, java.lang.String imageUri)
public ImageLoadEvent(int viewId, int eventType, @Nullable java.lang.String imageUri, int width, int height)
public static java.lang.String eventNameForType(int eventType)
public java.lang.String getEventName()
getEventName
in class Event<ImageLoadEvent>
public short getCoalescingKey()
getCoalescingKey
in class Event<ImageLoadEvent>
public void dispatch(RCTEventEmitter rctEventEmitter)
Event
dispatch
in class Event<ImageLoadEvent>