Class NfcNotAvailable

  • All Implemented Interfaces:
    java.io.Serializable

    public class NfcNotAvailable
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NfcNotAvailable​(java.lang.String message, boolean disabled)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDisabled()
      If true, the NFC functionality is disabled and can be enabled.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NfcNotAvailable

        public NfcNotAvailable​(java.lang.String message,
                               boolean disabled)
    • Method Detail

      • isDisabled

        public boolean isDisabled()
        If true, the NFC functionality is disabled and can be enabled. If false, the device lacks NFC functionality.
        Returns:
        true if NFC is disabled