|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Enum
com.trolltech.qt.phonon.Phonon.ErrorType
public static final class Phonon.ErrorType
This enum describes the severity when an error has occurred during playback.
After a media object has entered the ErrorState , one can query the type of error from MediaObject::errorType(). Note that you should query the error when receiving the MediaObject::stateChanged() signal, because the error type will be lost if the media object leaves the error state.
MediaObject::errorType().
| Field Summary | |
|---|---|
static Phonon.ErrorType |
FatalError
. |
static Phonon.ErrorType |
NoError
No error. |
static Phonon.ErrorType |
NormalError
An error has occurred with the playback of the current source. |
| Method Summary | |
|---|---|
static Phonon.ErrorType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Phonon.ErrorType |
valueOf(java.lang.String name)
|
static Phonon.ErrorType[] |
values()
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Phonon.ErrorType NoError
MediaObject::errorType() returns this if MediaObject::state() != Phonon::ErrorState .
public static final Phonon.ErrorType NormalError
public static final Phonon.ErrorType FatalError
| Method Detail |
|---|
public static Phonon.ErrorType[] values()
public static Phonon.ErrorType valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static Phonon.ErrorType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||