- All Superinterfaces:
Consumer<String>,WebVerificationHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public non-sealed interface PairingCodeHandler
extends Consumer<String>, WebVerificationHandler
This interface allows to consume a pairing code sent by WhatsappWeb
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic PairingCodeHandlerDiscards the pairing codestatic PairingCodeHandlerPrints the pairing code to the terminal
-
Method Details
-
toTerminal
Prints the pairing code to the terminal -
discarding
Discards the pairing code
-