|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stollmann.terminalIO.TIOAdvertisement
public class TIOAdvertisement
TIOAdvertisement instances represent a remote TerminalIO peripherals's advertisement data.
The application retrieves TIOAdvertisement instances as the TIOPeripheral.getAdvertisement()
property.
The application shall not create any TIOAdvertisement instances of its own.
Method Summary | |
---|---|
static TIOAdvertisement |
createFromScanRecord(java.lang.String localName,
byte[] manufacturerSpecificData)
// * @deprecated (exclude for javadoc documentation generation) Internal method to be called by TIOManager only; do not call from application code. |
boolean |
equals(TIOAdvertisement advertisement)
Compares this instance to another TIOAdvertisement instance for equality of contents . |
java.lang.String |
getDisplayString()
Gets a string representation of this instance containing local name, operation mode and connection request state. |
java.lang.String |
getLocalName()
Gets the peripheral's local name as contained within the peripheral's advertisement data. |
TIO.OperationMode |
getOperationMode()
Gets the peripheral's operation mode as contained within the peripheral's advertisement data. |
boolean |
isConnectionRequested()
Gets the peripheral's connection requested state as contained within the peripheral's advertisement data. |
java.lang.String |
toString()
Gets a tring representation of this instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final TIOAdvertisement createFromScanRecord(java.lang.String localName, byte[] manufacturerSpecificData)
public boolean equals(TIOAdvertisement advertisement)
advertisement
- The TIOAdvertisement instance to compare this instance to.
true
, if local name, operation mode and connection requested state are equal, false
otherwise.public java.lang.String getDisplayString()
public java.lang.String getLocalName()
public TIO.OperationMode getOperationMode()
TIO.OperationMode
value extracted from the peripheral's advertisement data.public boolean isConnectionRequested()
true
if the peripheral requests a connection, false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |