public static final class NfcAdapterExtras.CardEmulationRoute extends Object
Modifier and Type | Field and Description |
---|---|
NfcExecutionEnvironment |
nfcEe
The
NFcExecutionEnvironment that is Card Emulation is routed to. |
int |
route
A route such as
ROUTE_OFF or ROUTE_ON_WHEN_SCREEN_ON . |
static int |
ROUTE_OFF
Card Emulation is turned off on this NfcAdapter.
|
static int |
ROUTE_ON_WHEN_SCREEN_ON
Card Emulation is routed to
nfcEe only when the screen is on,
otherwise it is turned off. |
Constructor and Description |
---|
CardEmulationRoute(int route,
NfcExecutionEnvironment nfcEe) |
public static final int ROUTE_OFF
This is the default routing state after boot.
public static final int ROUTE_ON_WHEN_SCREEN_ON
nfcEe
only when the screen is on,
otherwise it is turned off.public final int route
ROUTE_OFF
or ROUTE_ON_WHEN_SCREEN_ON
.public final NfcExecutionEnvironment nfcEe
public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe)