ndefQueryStatus method

Future<QueryNdefStatusResponse> ndefQueryStatus(
  1. String handle
)

The tag's live NDEF status, as opposed to the copy captured at discovery.

Prefer Ndef.from(tag) unless you specifically need to re-check after writing.

Implementation

Future<QueryNdefStatusResponse> ndefQueryStatus(String handle) async {
  final response = await iosApi.ndefQueryStatus(handle);
  return QueryNdefStatusResponse(status: ndefStatusFromWire(response.status), capacity: response.capacity);
}