Swan Identifier Changed Payload
data class SwanIdentifierChangedPayload(val swanIdentifier: String, val source: SwanIdentifierChangedPayload.Source)
Payload delivered to every Swan.addSwanIdentifierChangedListener callback.
Types
Link copied to clipboard
The transition that triggered the Swan.addSwanIdentifierChangedListener emission. Mirrors RN's three call-sites (src/index.tsx:2678, :2745, :2824).
Properties
Link copied to clipboard
What triggered the change. See class kdoc.
Link copied to clipboard
The new Swan identifier — same string Swan.getSwanIdentifier would return at the moment of emission. After identify: the new currentCDID. After logout: the anonymous generatedCDID. Never null at emit time.