StructUtsname
class StructUtsname
kotlin.Any | |
↳ | android.system.StructUtsname |
Information returned by Os#uname
. Corresponds to C's struct utsname
from <sys/utsname.h>
.
Summary
Public constructors | |
---|---|
StructUtsname(sysname: String!, nodename: String!, release: String!, version: String!, machine: String!) Constructs an instance with the given field values. |
Public methods | |
---|---|
String |
toString() |
Properties | |
---|---|
String! |
The machine architecture, such as "armv7l" or "x86_64". |
String! |
The machine's unqualified name on some implementation-defined network. |
String! |
The OS release, such as "2. |
String! |
The OS name, such as "Linux". |
String! |
The OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011". |
Public constructors
StructUtsname
StructUtsname(
sysname: String!,
nodename: String!,
release: String!,
version: String!,
machine: String!)
Constructs an instance with the given field values.
Public methods
toString
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
Properties
machine
val machine: String!
The machine architecture, such as "armv7l" or "x86_64".
nodename
val nodename: String!
The machine's unqualified name on some implementation-defined network.
version
val version: String!
The OS version, such as "#48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011".