Data interface for Thread Border Agent.
Nested Class Summary
class | ThreadBorderAgent.Builder | Builder for constructing ThreadBorderAgent
instances. |
Inherited Constant Summary
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
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. |
---|