Dart Documentationchrome.downloadsInterruptReason

InterruptReason class

class InterruptReason extends ChromeEnum {
 static const InterruptReason FILE_FAILED = const InterruptReason._('FILE_FAILED');
 static const InterruptReason FILE_ACCESS_DENIED = const InterruptReason._('FILE_ACCESS_DENIED');
 static const InterruptReason FILE_NO_SPACE = const InterruptReason._('FILE_NO_SPACE');
 static const InterruptReason FILE_NAME_TOO_LONG = const InterruptReason._('FILE_NAME_TOO_LONG');
 static const InterruptReason FILE_TOO_LARGE = const InterruptReason._('FILE_TOO_LARGE');
 static const InterruptReason FILE_VIRUS_INFECTED = const InterruptReason._('FILE_VIRUS_INFECTED');
 static const InterruptReason FILE_TRANSIENT_ERROR = const InterruptReason._('FILE_TRANSIENT_ERROR');
 static const InterruptReason FILE_BLOCKED = const InterruptReason._('FILE_BLOCKED');
 static const InterruptReason FILE_SECURITY_CHECK_FAILED = const InterruptReason._('FILE_SECURITY_CHECK_FAILED');
 static const InterruptReason FILE_TOO_SHORT = const InterruptReason._('FILE_TOO_SHORT');
 static const InterruptReason NETWORK_FAILED = const InterruptReason._('NETWORK_FAILED');
 static const InterruptReason NETWORK_TIMEOUT = const InterruptReason._('NETWORK_TIMEOUT');
 static const InterruptReason NETWORK_DISCONNECTED = const InterruptReason._('NETWORK_DISCONNECTED');
 static const InterruptReason NETWORK_SERVER_DOWN = const InterruptReason._('NETWORK_SERVER_DOWN');
 static const InterruptReason SERVER_FAILED = const InterruptReason._('SERVER_FAILED');
 static const InterruptReason SERVER_NO_RANGE = const InterruptReason._('SERVER_NO_RANGE');
 static const InterruptReason SERVER_PRECONDITION = const InterruptReason._('SERVER_PRECONDITION');
 static const InterruptReason SERVER_BAD_CONTENT = const InterruptReason._('SERVER_BAD_CONTENT');
 static const InterruptReason USER_CANCELED = const InterruptReason._('USER_CANCELED');
 static const InterruptReason USER_SHUTDOWN = const InterruptReason._('USER_SHUTDOWN');
 static const InterruptReason CRASH = const InterruptReason._('CRASH');

 static const List<InterruptReason> VALUES = const[FILE_FAILED, FILE_ACCESS_DENIED, FILE_NO_SPACE, FILE_NAME_TOO_LONG, FILE_TOO_LARGE, FILE_VIRUS_INFECTED, FILE_TRANSIENT_ERROR, FILE_BLOCKED, FILE_SECURITY_CHECK_FAILED, FILE_TOO_SHORT, NETWORK_FAILED, NETWORK_TIMEOUT, NETWORK_DISCONNECTED, NETWORK_SERVER_DOWN, SERVER_FAILED, SERVER_NO_RANGE, SERVER_PRECONDITION, SERVER_BAD_CONTENT, USER_CANCELED, USER_SHUTDOWN, CRASH];

 const InterruptReason._(String str): super(str);
}

Extends

ChromeEnum > InterruptReason

Static Properties

const InterruptReason CRASH #

static const InterruptReason CRASH = const InterruptReason._('CRASH')

const InterruptReason FILE_ACCESS_DENIED #

static const InterruptReason FILE_ACCESS_DENIED = const InterruptReason._('FILE_ACCESS_DENIED')

const InterruptReason FILE_BLOCKED #

static const InterruptReason FILE_BLOCKED = const InterruptReason._('FILE_BLOCKED')

const InterruptReason FILE_FAILED #

static const InterruptReason FILE_FAILED = const InterruptReason._('FILE_FAILED')

const InterruptReason FILE_NAME_TOO_LONG #

static const InterruptReason FILE_NAME_TOO_LONG = const InterruptReason._('FILE_NAME_TOO_LONG')

const InterruptReason FILE_NO_SPACE #

static const InterruptReason FILE_NO_SPACE = const InterruptReason._('FILE_NO_SPACE')

const InterruptReason FILE_SECURITY_CHECK_FAILED #

static const InterruptReason FILE_SECURITY_CHECK_FAILED = const InterruptReason._('FILE_SECURITY_CHECK_FAILED')

const InterruptReason FILE_TOO_LARGE #

static const InterruptReason FILE_TOO_LARGE = const InterruptReason._('FILE_TOO_LARGE')

const InterruptReason FILE_TOO_SHORT #

static const InterruptReason FILE_TOO_SHORT = const InterruptReason._('FILE_TOO_SHORT')

const InterruptReason FILE_TRANSIENT_ERROR #

static const InterruptReason FILE_TRANSIENT_ERROR = const InterruptReason._('FILE_TRANSIENT_ERROR')

const InterruptReason FILE_VIRUS_INFECTED #

static const InterruptReason FILE_VIRUS_INFECTED = const InterruptReason._('FILE_VIRUS_INFECTED')

const InterruptReason NETWORK_DISCONNECTED #

static const InterruptReason NETWORK_DISCONNECTED = const InterruptReason._('NETWORK_DISCONNECTED')

const InterruptReason NETWORK_FAILED #

static const InterruptReason NETWORK_FAILED = const InterruptReason._('NETWORK_FAILED')

const InterruptReason NETWORK_SERVER_DOWN #

static const InterruptReason NETWORK_SERVER_DOWN = const InterruptReason._('NETWORK_SERVER_DOWN')

const InterruptReason NETWORK_TIMEOUT #

static const InterruptReason NETWORK_TIMEOUT = const InterruptReason._('NETWORK_TIMEOUT')

const InterruptReason SERVER_BAD_CONTENT #

static const InterruptReason SERVER_BAD_CONTENT = const InterruptReason._('SERVER_BAD_CONTENT')

const InterruptReason SERVER_FAILED #

static const InterruptReason SERVER_FAILED = const InterruptReason._('SERVER_FAILED')

const InterruptReason SERVER_NO_RANGE #

static const InterruptReason SERVER_NO_RANGE = const InterruptReason._('SERVER_NO_RANGE')

const InterruptReason SERVER_PRECONDITION #

static const InterruptReason SERVER_PRECONDITION = const InterruptReason._('SERVER_PRECONDITION')

const InterruptReason USER_CANCELED #

static const InterruptReason USER_CANCELED = const InterruptReason._('USER_CANCELED')

const InterruptReason USER_SHUTDOWN #

static const InterruptReason USER_SHUTDOWN = const InterruptReason._('USER_SHUTDOWN')

const List<InterruptReason> VALUES #

static const List<InterruptReason> VALUES = const[FILE_FAILED, FILE_ACCESS_DENIED, FILE_NO_SPACE, FILE_NAME_TOO_LONG, FILE_TOO_LARGE, FILE_VIRUS_INFECTED, FILE_TRANSIENT_ERROR, FILE_BLOCKED, FILE_SECURITY_CHECK_FAILED, FILE_TOO_SHORT, NETWORK_FAILED, NETWORK_TIMEOUT, NETWORK_DISCONNECTED, NETWORK_SERVER_DOWN, SERVER_FAILED, SERVER_NO_RANGE, SERVER_PRECONDITION, SERVER_BAD_CONTENT, USER_CANCELED, USER_SHUTDOWN, CRASH]

Properties

final String value #

inherited from ChromeEnum
final String value

Methods

String toString() #

inherited from ChromeEnum

Returns a string representation of this object.

docs inherited from Object
String toString() => value;