QtMobility Reference Documentation

Contents

QML NearFieldSocket Element

The NearFieldSocket element represents an LLCP socket. More...

  • List of all members, including inherited members
  • Properties

    Detailed Description

    The NearFieldSocket element is part of the QtMobility.connectivity 1.2 module.

    The NearFieldSocket element can be used to create a peer-to-peer connection over NFC LLCP sockets. NearfieldSocket can be used for both client and server side sockets.

    See also QLlcpSocket and QLlcpServer.

    Property Documentation

    connected : bool

    This property holds the connected state of the socket.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    read-onlyerror : string

    This property holds the last error that occurred.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    listening : bool

    This property holds whether the socket is listening for incoming connections.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    read-onlystate : string

    This property holds the state of the socket.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    stringData : string

    This property returns the available string data read from the socket. Seting this property sends the data to the remote socket.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    uri : string

    This property hold the URI of the socket. The URI uniquely identifies a remote service (for client sockets) or to register a service (for server sockets).

    This documentation was introduced in Qt Mobility Mobility 1.2.