Google is committed to advancing racial equity for Black communities. See how.

NLNevisPairingCodeDecoding

Summary

Inheritance

Inherits from: NSObject

Public static functions

extractDeviceIDFromNevisPairingCode:("Use NLPairingCodeUtils instead." DEPRECATED_MSG_ATTRIBUTE)
virtual uint64_t
Returns the device ID encoded in pairingCode if pairingCode is a valid pairing code; if invalid, returns 0.
extractNevisPairingCodeFromDeviceID:("Use NLPairingCodeUtils instead." DEPRECATED_MSG_ATTRIBUTE)
virtual NSString *
Encodes the given Nevis device ID into a 6-character pairing code, if deviceId is a valid Nevis tag number (i.e.

Public static functions

extractDeviceIDFromNevisPairingCode:

virtual uint64_t extractDeviceIDFromNevisPairingCode:(
  "Use NLPairingCodeUtils instead." DEPRECATED_MSG_ATTRIBUTE
)

Returns the device ID encoded in pairingCode if pairingCode is a valid pairing code; if invalid, returns 0.

Details
Parameters
[in] pairingCode
The pairing code of the Nevis.

extractNevisPairingCodeFromDeviceID:

virtual NSString * extractNevisPairingCodeFromDeviceID:(
  "Use NLPairingCodeUtils instead." DEPRECATED_MSG_ATTRIBUTE
)

Encodes the given Nevis device ID into a 6-character pairing code, if deviceId is a valid Nevis tag number (i.e.

it begins with 18B430040). If invalid, returns nil.

Details
Parameters
[in] deviceId
The device ID of the Nevis.