public final class SoftwareVersion extends Object
<query/> element in the jabber:iq:version namespace.| Constructor and Description |
|---|
SoftwareVersion() |
SoftwareVersion(String name,
String version)
Creates a software version instance.
|
SoftwareVersion(String name,
String version,
String os)
Creates a software version instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the software's name.
|
String |
getOs()
Gets the operating system.
|
String |
getVersion()
Gets the version.
|
String |
toString() |
public static final String NAMESPACE
public SoftwareVersion()
public SoftwareVersion(String name, String version)
If you want to hide OS information, useRevealing the application's underlying operating system may open the user or system to attacks directed against that operating system; therefore, an application MUST provide a way for a human user or administrator to disable sharing of information about the operating system.
SoftwareVersion(String, String, String) and pass null for the os parameter.name - The software's name.version - The software's version.Copyright © 2014 XMPP.rocks. All rights reserved.