Package com.digimarc.dms.resolver
Interface ResolveListener
public interface ResolveListener
Callbacks for Resolver events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onError
(Payload payload, Resolver.ResolveError error) This method will be called when an error occurs during a resolve operation.void
onPayloadResolved
(ResolvedContent result) This method will be called when a resolve operation is completed and the content data is available for your app to use.
-
Method Details
-
onPayloadResolved
This method will be called when a resolve operation is completed and the content data is available for your app to use. These callbacks will always occur on the main system (UI) thread.- Parameters:
result
- Content data for the resolved payload.
-
onError
This method will be called when an error occurs during a resolve operation. These callbacks will always occur on the main system (UI) thread.- Parameters:
payload
- Payload that the error occurred on.error
- Error code.
-