public enum PredefinedNetwork extends java.lang.Enum<PredefinedNetwork>
As communication with ANT+ devices (on the ANT+ network) should be through the provided ANT+ Profile Plugins, access to the ANT+ network is restricted. For access in special cases, please contact [email protected].
See the ANT Message Protocol and Usage document for more details.
| Enum Constant and Description | 
|---|
| ANT_FSNetwork dedicated for ANT-FS data upload/download. | 
| INVALIDNot a predefined network | 
| PUBLICAn open network with no restrictions. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PredefinedNetwork | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PredefinedNetwork[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PredefinedNetwork INVALID
public static final PredefinedNetwork PUBLIC
public static final PredefinedNetwork ANT_FS
public static PredefinedNetwork[] values()
for (PredefinedNetwork c : PredefinedNetwork.values()) System.out.println(c);
public static PredefinedNetwork 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 nullCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.