AFResult

class AFResult(var status: Boolean = false, var statusMessage: String? = null, var messageCode: String? = null)

Data class representing the result of an activity submission.

Constructors

Link copied to clipboard
constructor(status: Boolean = false, statusMessage: String? = null, messageCode: String? = null)

Properties

Link copied to clipboard

An optional code associated with the submission status.

Link copied to clipboard

A boolean indicating whether the submission was successful. A submission can be false when there is a duplicate activity or an agreement is not granted yet.

Link copied to clipboard

A message describing the status of the submission, if any.

Functions

Link copied to clipboard
open override fun toString(): String