API Reference
Log In

Optionally, you can handle "custom" MOCA Experiences yourself. The SDK will evaluate the campaign and experience settings, and let you know when the events happened so you can react accordingly.

Register your handler by calling

MOCA.setCustomActionHandler(this);

Where this implements the Action.CustomActionHandler protocol.

interface CustomActionHandler {
  boolean performCustomAction(Experience sender, String customAttribute);
}