Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

isAvailable()

Use this function to determine whether NFCService functionality is available.

None.

Returns true when used on a supported device, and false otherwise.

Use this function to disable or hide NFC operations on platforms where interacting with NFCs isn’t supported. For example: