light-mode-image
Learn
Functions

registerForNfcDeviceEngagement

Enables NFC engagement and registers any previously registered callbacks.

Engagement itself is reported through the callbacks rather than through this result. NFC is only supported on Android. On any other platform, this is a no-op and resolves successfully.

Signature

function registerForNfcDeviceEngagement(
  options: RegisterForNfcDeviceEngagementOptions
): Promise<Result<void, RegisterForNfcDeviceEngagementError>>

Parameters

Returns

Promise<Result<void, RegisterForNfcDeviceEngagementError>>

A promise that resolves once NFC engagement is enabled.

How would you rate this page?

On this page