Package | com.esri.bacore |
Class | public final class MessageType |
Inheritance | MessageType BaseEnum Object |
See also
Property | Defined By | ||
---|---|---|---|
items : Array [static] [read-only]
Array of all items of this enumeration. | MessageType | ||
value : String [read-only]
Value of the enumeration item. | BaseEnum |
Method | Defined By | ||
---|---|---|---|
[static]
Converts a string value to the enumeration item. | MessageType | ||
toString():String
Gets the value of the enumeration item. | BaseEnum |
Constant | Defined By | ||
---|---|---|---|
ERROR : MessageType [static] Error message type. | MessageType | ||
INFO : MessageType [static] Info message type. | MessageType | ||
UNKNOWN : MessageType [static] Unknown message type. | MessageType | ||
WARNING : MessageType [static] Warning message type. | MessageType |
items | property |
items:Array
[read-only] Array of all items of this enumeration.
public static function get items():Array
toEnumItem | () | method |
public static function toEnumItem(value:String, defaultItem:MessageType = null):MessageType
Converts a string value to the enumeration item.
Parameters
value:String — String value of the enumeration.
| |
defaultItem:MessageType (default = null ) — An enumeration value to be used if the value does not recognized.
|
MessageType — An enumeration item or the default item.
|
ERROR | Constant |
public static const ERROR:MessageType
Error message type.
INFO | Constant |
public static const INFO:MessageType
Info message type.
UNKNOWN | Constant |
public static const UNKNOWN:MessageType
Unknown message type.
WARNING | Constant |
public static const WARNING:MessageType
Warning message type.