Package-level declarations

Types

Link copied to clipboard
sealed class MoEResult<out T>

Represents the result of an SDK operation — either Success carrying typed data or Failure carrying a MoERequestFailure.

Link copied to clipboard
class MoETask<T>

Represents an SDK Task. Customers attach onSuccess / onFailure / onComplete to receive the result; the return value is discardable.

Functions

Link copied to clipboard
fun MoETask<*>.rejectOnSubmissionFailure(failure: JobSubmissionFailure)

Rejects this MoETask mapping a platform JobSubmissionFailure to the corresponding MoERequestFailureReason. Used when a background job/runnable could not be queued by the com.moengage.platform.internal.thread.executor.TaskHandler.