Package com.couchbase.lite
Interface MessagingCompletion
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ENTERPRISE EDITION API
The MessagingCompletion callback interface used for acknowledging the completion of a messaging operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
complete
(boolean success, MessagingError error) Acknowledges completion of the operation.
-
Method Details
-
complete
Acknowledges completion of the operation.- Parameters:
success
- Success or failureerror
- The error if any
-