light-mode-image
Learn
Functions

setNfcConfiguration

Persist a new NFC configuration to be applied for subsequent device engagements.

Persist a new NFC configuration to be applied for subsequent device engagements.

Does not affect any ongoing engagement sessions.

NFC is only supported on Android. On any other platform, it will return NfcError.PlatformNotSupported.

Signature

function setNfcConfiguration(
  nfcConfiguration: NfcConfiguration
): Promise<Result<void, MobileCredentialHolderError<PlatformNotSupported>>>

Parameters

Prop

Type

Returns

Promise<Result<void, MobileCredentialHolderError<PlatformNotSupported>>>

Throws

InvalidParams if the provided configuration is missing or invalid.

How would you rate this page?

On this page