public static enum BeaconData.PositionType extends java.lang.Enum<BeaconData.PositionType>
Enum Constant and Description |
---|
NO_TIME_NO_MESSAGING
Don't generate timestamp, report that station is not capable of text messaging (not actually true for YAAC).
|
NO_TIME_W_MESSAGING
Don't generate timestamp, report that station is capable of text messaging (this is the YAAC default).
|
TIME_NO_MESSAGING
Generate current timestamp, report that station is not capable of text messaging (not actually true for YAAC).
|
TIME_W_MESSAGING
Generate current timestamp, report that station is capable of text messaging.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canMsg()
Report whether YAAC has an operator capable of receiving text messages,
|
char |
getMsgType()
Report the message type character prefix to use for APRS Position Report message (APRS 1.0.1 specification, chapter 8).
|
static BeaconData.PositionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeaconData.PositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeaconData.PositionType NO_TIME_W_MESSAGING
public static final BeaconData.PositionType NO_TIME_NO_MESSAGING
public static final BeaconData.PositionType TIME_W_MESSAGING
public static final BeaconData.PositionType TIME_NO_MESSAGING
public static BeaconData.PositionType[] values()
for (BeaconData.PositionType c : BeaconData.PositionType.values()) System.out.println(c);
public static BeaconData.PositionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getMsgType()
public boolean canMsg()