|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.plazmic.mediaengine.io.LoadingStatus
SVGImage
instead.
public class LoadingStatus
Contains the functionality for describing the media loading status.
This class is used by the MediaManager
to notify listeners about loading progress/status.
Field Summary | ||
---|---|---|
static int |
LOADING_FAILED
Deprecated. Represents the LOADING FAILED status code, indicating that the current load has failed. |
|
static int |
LOADING_FINISHED
Deprecated. Represents the LOADING FINISHED status code, indicating that the data has finished loading. |
|
static int |
LOADING_READING
Deprecated. Represents the LOADING READING status code, indicating that the data is currently being parsed. |
|
static int |
LOADING_STARTED
Deprecated. Represents the LOADING STARTED status code, indicating that the media has started loading. |
Constructor Summary | ||
---|---|---|
LoadingStatus()
Deprecated. Constructs a new status object The default constructor. |
Method Summary | ||
---|---|---|
int |
getCode()
Deprecated. Returns the media code. |
|
String |
getContentType()
Deprecated. Returns the media content type. |
|
String |
getMessage()
Deprecated. Returns the message. |
|
long |
getReadBytes()
Deprecated. Returns the number of bytes read. |
|
String |
getSource()
Deprecated. Returns the URI location of the content. |
|
int |
getStatus()
Deprecated. Returns the loading status code. |
|
long |
getTotalBytes()
Deprecated. Returns the total number of bytes in the content. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOADING_STARTED
public static final int LOADING_READING
public static final int LOADING_FINISHED
public static final int LOADING_FAILED
Constructor Detail |
---|
public LoadingStatus()
Method Detail |
---|
public final long getReadBytes()
public final long getTotalBytes()
public final String getContentType()
public final String getSource()
public final int getStatus()
LoadingStatus.LOADING_STARTED
, LoadingStatus.LOADING_READING
,
LoadingStatus.LOADING_FINISHED
, LoadingStatus.LOADING_FAILED
.public final int getCode()
Used in conjunction with the LOADING_FAILED as the error code
public final String getMessage()
Used in conjunction with the LOADING_FAILED as the error message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal