Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.

enableService

Allows a foreground application to specify which card emulation service
should be enabled while a specific Activity is in the foreground.

The specified HCE-F service is only enabled when the corresponding application is
in the foreground and this method has been called. When the application is moved to
the background, disableService(Activity) is called, or
NFCID2 or System Code is replaced, the HCE-F service is disabled.

registerSystemCodeForService

The System Code must be in range from "4000" to "4FFF" (excluding "4*FF").

If a System Code was previously registered for this service
(either statically through the manifest, or dynamically by using this API),
it will be replaced with this one.

Even if the same System Code is already registered for another service,
this method succeeds in registering the System Code.

Note that you can only register a System Code for a service that
is running under the same UID as the caller of this API. Typically
this means you need to call this from the same
package as the service itself, though UIDs can also
be shared between packages using shared UIDs.

setNfcid2ForService

The NFCID2 must be in range from "02FE000000000000" to "02FEFFFFFFFFFFFF".

If a NFCID2 was previously set for this service
(either statically through the manifest, or dynamically by using this API),
it will be replaced.

Note that you can only set the NFCID2 for a service that
is running under the same UID as the caller of this API. Typically
this means you need to call this from the same
package as the service itself, though UIDs can also
be shared between packages using shared UIDs.