public final class ExtendedAssignment
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ExtendedAssignment.Flag
The flags which indicate which features to enable in a raw extended assignment byte.
|
Modifier and Type | Field and Description |
---|---|
static int |
SIZE_EXTENDED_ASSIGNMENT
The number of bytes used for extended assignment
|
Constructor and Description |
---|
ExtendedAssignment()
Constructs an ExtendedAssignment object with all features defaulting to false.
|
ExtendedAssignment(int extendedAssignmentByte)
Used internally by the ANT API to construct an ExtendedAssignment object
from a byte.
|
Modifier and Type | Method and Description |
---|---|
void |
enableBackgroundScanning()
Sets the enable background scanning flag.
|
void |
enableFrequencyAgility()
Sets the enable frequency agility flag.
|
boolean |
getEnableBackgroundScanning()
Returns the background scanning flag.
|
boolean |
getEnableFrequencyAgility()
Returns the frequency agility flag.
|
byte |
getFlagsByte()
Returns the byte representing the extended assignment configuration.
|
boolean |
isEnabled()
Check if any features are set to enable.
|
java.lang.String |
toString() |
public static final int SIZE_EXTENDED_ASSIGNMENT
public ExtendedAssignment()
public ExtendedAssignment(int extendedAssignmentByte)
extendedAssignmentByte
- The byte representing the extended
assignment configuration.public byte getFlagsByte()
public boolean isEnabled()
public boolean getEnableBackgroundScanning()
public void enableBackgroundScanning()
public boolean getEnableFrequencyAgility()
public void enableFrequencyAgility()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.