org.jmythapi.protocol.events
Enum IDownloadFileFinished.Props

java.lang.Object
  extended by java.lang.Enum<IDownloadFileFinished.Props>
      extended by org.jmythapi.protocol.events.IDownloadFileFinished.Props
All Implemented Interfaces:
Serializable, Comparable<IDownloadFileFinished.Props>
Enclosing interface:
IDownloadFileFinished

public static enum IDownloadFileFinished.Props
extends Enum<IDownloadFileFinished.Props>

The properties of an IDownloadFileFinished event.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange00-1
REMOTE_URIURI[00,-1)XX
LOCAL_URIURI[00,-1)XX
BYTES_TOTALLong[00,-1)XX
ERROR_TEXTString[00,-1)XX
ERROR_CODEInteger[00,-1)XX


Enum Constant Summary
BYTES_TOTAL
          The total size of the remote file.
ERROR_CODE
          The error code of a download error.
ERROR_TEXT
          The error text of a download error.
LOCAL_URI
          The URI to the local copy of the remote file.
REMOTE_URI
          The URI to the remote file.
 
Method Summary
static IDownloadFileFinished.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IDownloadFileFinished.Props[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

REMOTE_URI

public static final IDownloadFileFinished.Props REMOTE_URI
The URI to the remote file.

See Also:
IDownloadFile.getRemoteURI()

LOCAL_URI

public static final IDownloadFileFinished.Props LOCAL_URI
The URI to the local copy of the remote file.

See Also:
IDownloadFile.getLocalURI()

BYTES_TOTAL

public static final IDownloadFileFinished.Props BYTES_TOTAL
The total size of the remote file.

See Also:
IDownloadFile.getBytesTotal()

ERROR_TEXT

public static final IDownloadFileFinished.Props ERROR_TEXT
The error text of a download error.

See Also:
IDownloadFileFinished.getErrorText()

ERROR_CODE

public static final IDownloadFileFinished.Props ERROR_CODE
The error code of a download error.

See Also:
QNetworkReply.NetworkError, IDownloadFileFinished.getErrorCode()
Method Detail

values

public static IDownloadFileFinished.Props[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IDownloadFileFinished.Props c : IDownloadFileFinished.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IDownloadFileFinished.Props valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.