EphemeralKeyFetchDelegate
public protocol EphemeralKeyFetchDelegate : AnyObject
Notified of similar ephemeral key fetch results
-
Called when ephemeral key was fetched successfuly
- result: An
EphemeralKeytype which contains the key in JSON format
Declaration
Swift
func ephemeralKeyFetchDidSucceedWith(_ result: EphemeralKey) - result: An
-
Called when there was an error fetching the ephemeral key
- error: The
Errorrepresenting the reason for failure.
Declaration
Swift
func ephemeralKeyFetchDidFailWith(_ error: Error) - error: The
EphemeralKeyFetchDelegate Protocol Reference