Package apple.corenfc

Class NFCReaderSession

    • Constructor Detail

      • NFCReaderSession

        protected NFCReaderSession​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alertMessage

        public java.lang.String alertMessage()
        Description copied from interface: NFCReaderSession
        [@property] alertMessage Descriptive text message that is displayed on the alert action sheet once tag scanning has started. The string can be update dynamically in any thread context as long as the session is valid. This should be set prior to calling @link beginSession @link/ to display the correct message. Use this string to provide additional context about the NFC reader mode operation.
        Specified by:
        alertMessage in interface NFCReaderSession
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • beginSession

        public void beginSession()
        Description copied from interface: NFCReaderSession
        beginSession: Starts the session. The @link [NFCReaderSessionDelegate readerSessionDidBecomeActive:] @link/ will be called when the reader session is activated successfully. @link [NFCReaderSessionDelegate readerSession:didDetectTags:] @link/ will return tag objects that are conformed to the @link NFCTag @link/ protocol. @link [NFCReaderSessionDelegate readerSession:didInvalidateWithError:] will return errors related to the session start.
        Specified by:
        beginSession in interface NFCReaderSession
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • delegate

        public java.lang.Object delegate()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • invalidateSession

        public void invalidateSession()
        Description copied from interface: NFCReaderSession
        invalidateSession Closes the reader session. The session cannot be re-used.
        Specified by:
        invalidateSession in interface NFCReaderSession
      • invalidateSessionWithErrorMessage

        public void invalidateSessionWithErrorMessage​(java.lang.String errorMessage)
        Description copied from interface: NFCReaderSession
        invalidateSessionWithErrorMessage: Closes the reader session. The session cannot be re-used. The specified error message and an error symbol will be displayed momentarily on the action sheet before it is automatically dismissed.
        Specified by:
        invalidateSessionWithErrorMessage in interface NFCReaderSession
      • isReady

        public boolean isReady()
        Description copied from interface: NFCReaderSession
        [@property] ready The RF discovery polling begins immediately when a reader session is activated successfully. The @link readerSession:didDetectTags: @link/ will be called when a tag is detected.
        Specified by:
        isReady in interface NFCReaderSession
        Returns:
        YES if the reader session is started and ready to use.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • readingAvailable

        public static boolean readingAvailable()
        [@property] readingAvailable YES if device supports NFC tag reading.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • sessionQueue

        public NSObject sessionQueue()
        [@property] sessionQueue The NFCReaderSessionDelegate delegate callbacks and the completion block handlers for tag operation will be dispatched on this queue.
      • setAlertMessage

        public void setAlertMessage​(java.lang.String value)
        Description copied from interface: NFCReaderSession
        [@property] alertMessage Descriptive text message that is displayed on the alert action sheet once tag scanning has started. The string can be update dynamically in any thread context as long as the session is valid. This should be set prior to calling @link beginSession @link/ to display the correct message. Use this string to provide additional context about the NFC reader mode operation.
        Specified by:
        setAlertMessage in interface NFCReaderSession
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()