getTelemetryId
Fetches a DFP telemetry ID from the local device fingerprinting provider. The ID is passed to your backend for use in Stytch lookup calls.
Kotlin:
val telemetryId = StytchB2B.dfp.getTelemetryId()Content copied to clipboard
iOS:
let telemetryId = try await StytchB2B.dfp.getTelemetryId()Content copied to clipboard
React Native:
const telemetryId = await StytchB2B.dfp.getTelemetryId()Content copied to clipboard
Return
The DFP telemetry ID string.
Throws
DFPNotConfiguredError
if DFP was not configured during SDK initialization.
if the coroutine is cancelled.