/**@class android.nfc.cardemulation.NfcFCardEmulation
@extends java.lang.Object

 This class can be used to query the state of
 NFC-F card emulation services.

 For a general introduction into NFC card emulation,
 please read the <a href="{@docRoot}guide/topics/connectivity/nfc/hce.html">
 NFC card emulation developer guide</a>.</p>

 <p class="note">Use of this class requires the
 {@link PackageManager#FEATURE_NFC_HOST_CARD_EMULATION_NFCF}
 to be present on the device.
*/
var NfcFCardEmulation = {

/**Helper to get an instance of this class.
@param {Object {NfcAdapter}} adapter A reference to an NfcAdapter object.
@return {Object {android.nfc.cardemulation.NfcFCardEmulation}} 
*/
getInstance : function(  ) {},

/**Retrieves the current System Code for the specified service.

 <p>Before calling {@link #registerSystemCodeForService(ComponentName, String)},
 the System Code contained in the Manifest file is returned. After calling
 {@link #registerSystemCodeForService(ComponentName, String)}, the System Code
 registered there is returned. After calling
 {@link #unregisterSystemCodeForService}(ComponentName), "null" is returned.
@param {Object {ComponentName}} service The component name of the service
@return {String} the current System Code
*/
getSystemCodeForService : function(  ) {},

/**Registers a System Code for the specified service.

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

 <p>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.

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

 <p>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.
@param {Object {ComponentName}} service The component name of the service
@param {String} systemCode The System Code to be registered
@return {Boolean} whether the registration was successful.
*/
registerSystemCodeForService : function(  ) {},

/**Removes a registered System Code for the specified service.
@param {Object {ComponentName}} service The component name of the service
@return {Boolean} whether the System Code was successfully removed.
*/
unregisterSystemCodeForService : function(  ) {},

/**Retrieves the current NFCID2 for the specified service.

 <p>Before calling {@link #setNfcid2ForService(ComponentName, String)},
 the NFCID2 contained in the Manifest file is returned. If "random" is specified
 in the Manifest file, a random number assigned by the system at installation time
 is returned. After setting an NFCID2
 with {@link #setNfcid2ForService(ComponentName, String)}, this NFCID2 is returned.
@param {Object {ComponentName}} service The component name of the service
@return {String} the current NFCID2
*/
getNfcid2ForService : function(  ) {},

/**Set a NFCID2 for the specified service.

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

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

 <p>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.
@param {Object {ComponentName}} service The component name of the service
@param {String} nfcid2 The NFCID2 to be registered
@return {Boolean} whether the setting was successful.
*/
setNfcid2ForService : function(  ) {},

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

 <p>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, {@link #disableService}(Activity) is called, or
 NFCID2 or System Code is replaced, the HCE-F service is disabled.

 <p>The specified Activity must currently be in resumed state. A good
 paradigm is to call this method in your {@link Activity#onResume}, and to call
 {@link #disableService}(Activity) in your {@link Activity#onPause}.

 <p>Note that this preference is not persisted by the OS, and hence must be
 called every time the Activity is resumed.
@param {Object {Activity}} activity The activity which prefers this service to be invoked
@param {Object {ComponentName}} service The service to be preferred while this activity is in the foreground
@return {Boolean} whether the registration was successful
*/
enableService : function(  ) {},

/**Disables the service for the specified Activity.

 <p>Note that the specified Activity must still be in resumed
 state at the time of this call. A good place to call this method
 is in your {@link Activity#onPause} implementation.
@param {Object {Activity}} activity The activity which the service was registered for
@return {Boolean} true when successful
*/
disableService : function(  ) {},

/**
@hide 
*/
getNfcFServices : function(  ) {},

/**
@hide 
*/
getMaxNumOfRegisterableSystemCodes : function(  ) {},

/**
@hide 
*/
isValidSystemCode : function(  ) {},

/**
@hide 
*/
isValidNfcid2 : function(  ) {},


};