ReCaptchaDecoder
internal class ReCaptchaDecoder: NSObject
The Decoder of javascript messages from the webview
-
The decoder result.
See moreDeclaration
Swift
enum Result -
The closure that receives messages
Declaration
Swift
fileprivate let sendMessage: ((Result) -> Void) -
Initializes a decoder with a completion closure.
Declaration
Swift
init(didReceiveMessage: @escaping (Result) -> Void)Parameters
didReceiveMessageA closure that receives a ReCaptchaDecoder.Result
-
Sends an error to the completion closure
Declaration
Swift
func send(error: ReCaptchaError)Parameters
errorThe error to be sent.
-
Undocumented
Declaration
Swift
internal class ReCaptchaDecoder: NSObject
ReCaptchaDecoder Class Reference