public static enum AntService.Component extends java.lang.Enum<AntService.Component>
Enum Constant and Description |
---|
ADAPTER_PROVIDER
Responsible for providing hardware information to applications.
|
CHANNEL_PROVIDER
Responsible for providing ANT channels to applications.
|
INVALID
The Component if the received component from ANT Radio Service
is not supported in this version of the API.
|
Modifier and Type | Method and Description |
---|---|
static AntService.Component |
create(int rawValue)
Used internally by the API to create a Component from a raw value
received from ANT Radio Service.
|
int |
getRawValue()
Returns the raw value of this Component.
|
static AntService.Component |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntService.Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntService.Component INVALID
public static final AntService.Component CHANNEL_PROVIDER
public static final AntService.Component ADAPTER_PROVIDER
public static AntService.Component[] values()
for (AntService.Component c : AntService.Component.values()) System.out.println(c);
public static AntService.Component 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 int getRawValue()
public static AntService.Component create(int rawValue)
AntService
such as
AntService.getChannelProvider()
to retrieve components.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.