# encoding: utf-8
# module PyQt6.QtNfc
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\PyQt6\QtNfc.pyd
# by generator 1.147
# no doc

# imports
import PyQt6.QtCore as __PyQt6_QtCore
import PyQt6.sip as __PyQt6_sip


# no functions
# classes

class QNdefFilter(__PyQt6_sip.simplewrapper):
    """
    QNdefFilter()
    QNdefFilter(other: QNdefFilter)
    """
    def appendRecord(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        appendRecord(self, record: QNdefFilter.Record) -> bool
        appendRecord(self, typeNameFormat: QNdefRecord.TypeNameFormat, type: QByteArray, min: int = 1, max: int = 1) -> bool
        """
        return False

    def clear(self): # real signature unknown; restored from __doc__
        """ clear(self) """
        pass

    def match(self, message): # real signature unknown; restored from __doc__
        """ match(self, message: QNdefMessage) -> bool """
        return False

    def orderMatch(self): # real signature unknown; restored from __doc__
        """ orderMatch(self) -> bool """
        return False

    def recordAt(self, i): # real signature unknown; restored from __doc__
        """ recordAt(self, i: int) -> QNdefFilter.Record """
        pass

    def recordCount(self): # real signature unknown; restored from __doc__
        """ recordCount(self) -> int """
        return 0

    def setOrderMatch(self, on): # real signature unknown; restored from __doc__
        """ setOrderMatch(self, on: bool) """
        pass

    def __init__(self, other=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __len__(self, *args, **kwargs): # real signature unknown
        """ Return len(self). """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    Record = None # (!) real value is "<class 'PyQt6.QtNfc.QNdefFilter.Record'>"


class QNdefMessage(__PyQt6_sip.simplewrapper):
    """
    QNdefMessage()
    QNdefMessage(record: QNdefRecord)
    QNdefMessage(message: QNdefMessage)
    QNdefMessage(records: Iterable[QNdefRecord])
    """
    def fromByteArray(self, message): # real signature unknown; restored from __doc__
        """ fromByteArray(message: QByteArray) -> QNdefMessage """
        return QNdefMessage

    def toByteArray(self): # real signature unknown; restored from __doc__
        """ toByteArray(self) -> QByteArray """
        pass

    def __delitem__(self, *args, **kwargs): # real signature unknown
        """ Delete self[key]. """
        pass

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __getitem__(self, *args, **kwargs): # real signature unknown
        """ Return self[key]. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __len__(self, *args, **kwargs): # real signature unknown
        """ Return len(self). """
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    def __setitem__(self, *args, **kwargs): # real signature unknown
        """ Set self[key] to value. """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    __hash__ = None


class QNdefRecord(__PyQt6_sip.simplewrapper):
    """
    QNdefRecord()
    QNdefRecord(other: QNdefRecord)
    """
    def clear(self): # real signature unknown; restored from __doc__
        """ clear(self) """
        pass

    def id(self): # real signature unknown; restored from __doc__
        """ id(self) -> QByteArray """
        pass

    def isEmpty(self): # real signature unknown; restored from __doc__
        """ isEmpty(self) -> bool """
        return False

    def payload(self): # real signature unknown; restored from __doc__
        """ payload(self) -> QByteArray """
        pass

    def setId(self, id): # real signature unknown; restored from __doc__
        """ setId(self, id: QByteArray) """
        pass

    def setPayload(self, payload): # real signature unknown; restored from __doc__
        """ setPayload(self, payload: QByteArray) """
        pass

    def setType(self, type): # real signature unknown; restored from __doc__
        """ setType(self, type: QByteArray) """
        pass

    def setTypeNameFormat(self, typeNameFormat): # real signature unknown; restored from __doc__
        """ setTypeNameFormat(self, typeNameFormat: QNdefRecord.TypeNameFormat) """
        pass

    def type(self): # real signature unknown; restored from __doc__
        """ type(self) -> QByteArray """
        pass

    def typeNameFormat(self): # real signature unknown; restored from __doc__
        """ typeNameFormat(self) -> QNdefRecord.TypeNameFormat """
        pass

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __hash__(self, *args, **kwargs): # real signature unknown
        """ Return hash(self). """
        pass

    def __init__(self, other=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    TypeNameFormat = None # (!) real value is "<enum 'TypeNameFormat'>"


class QNdefNfcIconRecord(QNdefRecord):
    """
    QNdefNfcIconRecord()
    QNdefNfcIconRecord(other: QNdefRecord)
    QNdefNfcIconRecord(a0: QNdefNfcIconRecord)
    """
    def data(self): # real signature unknown; restored from __doc__
        """ data(self) -> QByteArray """
        pass

    def setData(self, data): # real signature unknown; restored from __doc__
        """ setData(self, data: QByteArray) """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


class QNdefNfcSmartPosterRecord(QNdefRecord):
    """
    QNdefNfcSmartPosterRecord()
    QNdefNfcSmartPosterRecord(other: QNdefNfcSmartPosterRecord)
    QNdefNfcSmartPosterRecord(other: QNdefRecord)
    """
    def action(self): # real signature unknown; restored from __doc__
        """ action(self) -> QNdefNfcSmartPosterRecord.Action """
        pass

    def addIcon(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        addIcon(self, icon: QNdefNfcIconRecord)
        addIcon(self, type: QByteArray, data: QByteArray)
        """
        pass

    def addTitle(self, text, locale=None, encoding=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        addTitle(self, text: QNdefNfcTextRecord) -> bool
        addTitle(self, text: str, locale: str, encoding: QNdefNfcTextRecord.Encoding) -> bool
        """
        return False

    def hasAction(self): # real signature unknown; restored from __doc__
        """ hasAction(self) -> bool """
        return False

    def hasIcon(self, mimetype=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ hasIcon(self, mimetype: QByteArray = QByteArray()) -> bool """
        pass

    def hasSize(self): # real signature unknown; restored from __doc__
        """ hasSize(self) -> bool """
        return False

    def hasTitle(self, locale=''): # real signature unknown; restored from __doc__
        """ hasTitle(self, locale: str = '') -> bool """
        return False

    def hasTypeInfo(self): # real signature unknown; restored from __doc__
        """ hasTypeInfo(self) -> bool """
        return False

    def icon(self, mimetype=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ icon(self, mimetype: QByteArray = QByteArray()) -> QByteArray """
        pass

    def iconCount(self): # real signature unknown; restored from __doc__
        """ iconCount(self) -> int """
        return 0

    def iconRecord(self, index): # real signature unknown; restored from __doc__
        """ iconRecord(self, index: int) -> QNdefNfcIconRecord """
        return QNdefNfcIconRecord

    def iconRecords(self): # real signature unknown; restored from __doc__
        """ iconRecords(self) -> List[QNdefNfcIconRecord] """
        return []

    def removeIcon(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        removeIcon(self, icon: QNdefNfcIconRecord) -> bool
        removeIcon(self, type: QByteArray) -> bool
        """
        return False

    def removeTitle(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        removeTitle(self, text: QNdefNfcTextRecord) -> bool
        removeTitle(self, locale: str) -> bool
        """
        return False

    def setAction(self, act): # real signature unknown; restored from __doc__
        """ setAction(self, act: QNdefNfcSmartPosterRecord.Action) """
        pass

    def setIcons(self, icons, QNdefNfcIconRecord=None): # real signature unknown; restored from __doc__
        """ setIcons(self, icons: Iterable[QNdefNfcIconRecord]) """
        pass

    def setPayload(self, payload): # real signature unknown; restored from __doc__
        """ setPayload(self, payload: QByteArray) """
        pass

    def setSize(self, size): # real signature unknown; restored from __doc__
        """ setSize(self, size: int) """
        pass

    def setTitles(self, titles, QNdefNfcTextRecord=None): # real signature unknown; restored from __doc__
        """ setTitles(self, titles: Iterable[QNdefNfcTextRecord]) """
        pass

    def setTypeInfo(self, type): # real signature unknown; restored from __doc__
        """ setTypeInfo(self, type: str) """
        pass

    def setUri(self, url): # real signature unknown; restored from __doc__ with multiple overloads
        """
        setUri(self, url: QNdefNfcUriRecord)
        setUri(self, url: QUrl)
        """
        pass

    def size(self): # real signature unknown; restored from __doc__
        """ size(self) -> int """
        return 0

    def title(self, locale=''): # real signature unknown; restored from __doc__
        """ title(self, locale: str = '') -> str """
        return ""

    def titleCount(self): # real signature unknown; restored from __doc__
        """ titleCount(self) -> int """
        return 0

    def titleRecord(self, index): # real signature unknown; restored from __doc__
        """ titleRecord(self, index: int) -> QNdefNfcTextRecord """
        return QNdefNfcTextRecord

    def titleRecords(self): # real signature unknown; restored from __doc__
        """ titleRecords(self) -> List[QNdefNfcTextRecord] """
        return []

    def typeInfo(self): # real signature unknown; restored from __doc__
        """ typeInfo(self) -> str """
        return ""

    def uri(self): # real signature unknown; restored from __doc__
        """ uri(self) -> QUrl """
        pass

    def uriRecord(self): # real signature unknown; restored from __doc__
        """ uriRecord(self) -> QNdefNfcUriRecord """
        return QNdefNfcUriRecord

    def __init__(self, other=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Action = None # (!) real value is "<enum 'Action'>"


class QNdefNfcTextRecord(QNdefRecord):
    """
    QNdefNfcTextRecord()
    QNdefNfcTextRecord(other: QNdefRecord)
    QNdefNfcTextRecord(a0: QNdefNfcTextRecord)
    """
    def encoding(self): # real signature unknown; restored from __doc__
        """ encoding(self) -> QNdefNfcTextRecord.Encoding """
        pass

    def locale(self): # real signature unknown; restored from __doc__
        """ locale(self) -> str """
        return ""

    def setEncoding(self, encoding): # real signature unknown; restored from __doc__
        """ setEncoding(self, encoding: QNdefNfcTextRecord.Encoding) """
        pass

    def setLocale(self, locale): # real signature unknown; restored from __doc__
        """ setLocale(self, locale: str) """
        pass

    def setText(self, text): # real signature unknown; restored from __doc__
        """ setText(self, text: str) """
        pass

    def text(self): # real signature unknown; restored from __doc__
        """ text(self) -> str """
        return ""

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Encoding = None # (!) real value is "<enum 'Encoding'>"


class QNdefNfcUriRecord(QNdefRecord):
    """
    QNdefNfcUriRecord()
    QNdefNfcUriRecord(other: QNdefRecord)
    QNdefNfcUriRecord(a0: QNdefNfcUriRecord)
    """
    def setUri(self, uri): # real signature unknown; restored from __doc__
        """ setUri(self, uri: QUrl) """
        pass

    def uri(self): # real signature unknown; restored from __doc__
        """ uri(self) -> QUrl """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


class QNearFieldManager(__PyQt6_QtCore.QObject):
    """ QNearFieldManager(parent: typing.Optional[QObject] = None) """
    def adapterStateChanged(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def childEvent(self, *args, **kwargs): # real signature unknown
        pass

    def connectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def customEvent(self, *args, **kwargs): # real signature unknown
        pass

    def disconnectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def isEnabled(self): # real signature unknown; restored from __doc__
        """ isEnabled(self) -> bool """
        return False

    def isSignalConnected(self, *args, **kwargs): # real signature unknown
        pass

    def isSupported(self, accessMethod=None): # real signature unknown; restored from __doc__
        """ isSupported(self, accessMethod: QNearFieldTarget.AccessMethod = QNearFieldTarget.AnyAccess) -> bool """
        return False

    def receivers(self, *args, **kwargs): # real signature unknown
        pass

    def sender(self, *args, **kwargs): # real signature unknown
        pass

    def senderSignalIndex(self, *args, **kwargs): # real signature unknown
        pass

    def setUserInformation(self, message): # real signature unknown; restored from __doc__
        """ setUserInformation(self, message: str) """
        pass

    def startTargetDetection(self, accessMethod): # real signature unknown; restored from __doc__
        """ startTargetDetection(self, accessMethod: QNearFieldTarget.AccessMethod) -> bool """
        return False

    def stopTargetDetection(self, errorMessage=''): # real signature unknown; restored from __doc__
        """ stopTargetDetection(self, errorMessage: str = '') """
        pass

    def targetDetected(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def targetDetectionStopped(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def targetLost(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def timerEvent(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, parent, QObject=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass

    AdapterState = None # (!) real value is "<enum 'AdapterState'>"


class QNearFieldTarget(__PyQt6_QtCore.QObject):
    """ QNearFieldTarget(parent: typing.Optional[QObject] = None) """
    def accessMethods(self): # real signature unknown; restored from __doc__
        """ accessMethods(self) -> QNearFieldTarget.AccessMethod """
        pass

    def childEvent(self, *args, **kwargs): # real signature unknown
        pass

    def connectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def customEvent(self, *args, **kwargs): # real signature unknown
        pass

    def disconnect(self): # real signature unknown; restored from __doc__
        """ disconnect(self) -> bool """
        return False

    def disconnected(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def disconnectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def error(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def hasNdefMessage(self): # real signature unknown; restored from __doc__
        """ hasNdefMessage(self) -> bool """
        return False

    def isSignalConnected(self, *args, **kwargs): # real signature unknown
        pass

    def maxCommandLength(self): # real signature unknown; restored from __doc__
        """ maxCommandLength(self) -> int """
        return 0

    def ndefMessageRead(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def readNdefMessages(self): # real signature unknown; restored from __doc__
        """ readNdefMessages(self) -> QNearFieldTarget.RequestId """
        pass

    def receivers(self, *args, **kwargs): # real signature unknown
        pass

    def requestCompleted(self, *args, **kwargs): # real signature unknown
        """
        pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
        
        types is normally a sequence of individual types.  Each type is either a
        type object or a string that is the name of a C++ type.  Alternatively
        each type could itself be a sequence of types each describing a different
        overloaded signal.
        name is the optional C++ name of the signal.  If it is not specified then
        the name of the class attribute that is bound to the signal is used.
        revision is the optional revision of the signal that is exported to QML.
        If it is not specified then 0 is used.
        arguments is the optional sequence of the names of the signal's arguments.
        """
        pass

    def requestResponse(self, id): # real signature unknown; restored from __doc__
        """ requestResponse(self, id: QNearFieldTarget.RequestId) -> Any """
        pass

    def sendCommand(self, command): # real signature unknown; restored from __doc__
        """ sendCommand(self, command: QByteArray) -> QNearFieldTarget.RequestId """
        pass

    def sender(self, *args, **kwargs): # real signature unknown
        pass

    def senderSignalIndex(self, *args, **kwargs): # real signature unknown
        pass

    def timerEvent(self, *args, **kwargs): # real signature unknown
        pass

    def type(self): # real signature unknown; restored from __doc__
        """ type(self) -> QNearFieldTarget.Type """
        pass

    def uid(self): # real signature unknown; restored from __doc__
        """ uid(self) -> QByteArray """
        pass

    def waitForRequestCompleted(self, id, msecs=5000): # real signature unknown; restored from __doc__
        """ waitForRequestCompleted(self, id: QNearFieldTarget.RequestId, msecs: int = 5000) -> bool """
        return False

    def writeNdefMessages(self, messages, QNdefMessage=None): # real signature unknown; restored from __doc__
        """ writeNdefMessages(self, messages: Iterable[QNdefMessage]) -> QNearFieldTarget.RequestId """
        pass

    def __init__(self, parent, QObject=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass

    AccessMethod = None # (!) real value is "<flag 'AccessMethod'>"
    Error = None # (!) real value is "<enum 'Error'>"
    RequestId = None # (!) real value is "<class 'PyQt6.QtNfc.QNearFieldTarget.RequestId'>"
    Type = None # (!) real value is "<enum 'Type'>"


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000001FA0DE0C750>'

__spec__ = None # (!) real value is "ModuleSpec(name='PyQt6.QtNfc', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000001FA0DE0C750>, origin='C:\\\\Users\\\\xukai\\\\Downloads\\\\??2\\\\venv\\\\Lib\\\\site-packages\\\\PyQt6\\\\QtNfc.pyd')"

