Data interface for Thread Border Agent.
Nested Class Summary
class | ThreadBorderAgent.Builder | Builder for constructing ThreadBorderAgent
instances. |
Inherited Constant Summary
int | CONTENTS_FILE_DESCRIPTOR | |
int | PARCELABLE_WRITE_RETURN_VALUE |
Public Method Summary
byte[] |
getId()
Returns the id which uniquely identifies a Thread Border Agent device.
|
static ThreadBorderAgent.Builder |
newBuilder(byte[] id)
Creates a new
ThreadBorderAgent.Builder for constructing a
ThreadBorderAgent .
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
abstract int |
describeContents()
|
abstract void |
writeToParcel(Parcel arg0,
int arg1)
|
Public Methods
public byte[] getId ()
Returns the id which uniquely identifies a Thread Border Agent device.
public static ThreadBorderAgent.Builder
newBuilder (byte[]
id)
Creates a new
ThreadBorderAgent.Builder
for constructing a ThreadBorderAgent
.
Parameters
id | the id which uniquely identifies a Border Agent. The length must be 16 bytes. |
---|
Throws
IllegalArgumentException | if the id is not of length 16 bytes. |
---|