public static final class DataForm.Option extends Object
DataForm.Field.Type.LIST_SINGLE or DataForm.Field.Type.LIST_MULTI.| Constructor and Description |
|---|
Option(String value)
Creates an option.
|
Option(String value,
String label)
Creates an option.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Gets the label.
|
String |
getValue()
Gets the value of the option.
|
public Option(String value)
value - The option value.Copyright © 2014–2015 XMPP.rocks. All rights reserved.