public class DeviceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
addr
Device's address in peer-peer network.
|
static <any> |
CREATOR
Parcel marshaling setting.
|
java.lang.String |
name
Device's name in peer-peer network; started initially with Android OS build model name
and can be changed later by ConnectionService.setConnectionInfo().
|
java.lang.String |
port
Device's acceptance port number at which other peers can connect.
|
Constructor and Description |
---|
DeviceInfo() |
DeviceInfo(Parcel in) |
DeviceInfo(java.lang.String n,
java.lang.String a,
java.lang.String p) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
void |
readFromParcel(Parcel in) |
java.lang.String |
toString() |
void |
writeToParcel(Parcel out,
int flags) |
public java.lang.String name
public java.lang.String addr
public java.lang.String port
public static final <any> CREATOR