RequestId Class | Qt NFC 6.8.0
Description: A request id handle.

- Qt 6.8
- Qt NFC
- C++ Classes
- RequestId
- Qt 6.8.0 Reference Documentation

# RequestId Class

class QNearFieldTarget::RequestId

A request id handle. More...

- List of all members, including inherited members

## Public Functions

| RequestId()
| RequestId(const QNearFieldTarget::RequestId &other)
| ~RequestId()
bool | isValid() const
int | refCount() const
QNearFieldTarget::RequestId & | operator=(const QNearFieldTarget::RequestId &other)

## Detailed Description

## Member Function Documentation

### RequestId::RequestId()

Constructs a new invalid request id handle.

### RequestId::RequestId(const QNearFieldTarget::RequestId &other)

Constructs a new request id handle that is a copy of other.

### `[noexcept]` RequestId::~RequestId()

Destroys the request id handle.

### bool RequestId::isValid() const

Returns `true` if this is a valid request id; otherwise returns `false`.

### int RequestId::refCount() const

Returns the current reference count of the request id.

### QNearFieldTarget::RequestId &RequestId::operator=(const QNearFieldTarget::RequestId &other)

Assigns a copy of other to this request id and returns a reference to this request id.