QrCodeCase

open class QrCodeCase

Constructors

Link copied to clipboard
constructor(localDbRepository: LocalDbRepository, dhisVersionManager: DHISVersionManager)

Functions

Link copied to clipboard
open fun generateDataSetCode(dataSet: String, orgUnit: String, period: String, attributeOptionComboUid: String): Single<String>
Get a compressed representations of a data value set.
Link copied to clipboard
open fun generateDeletionCode(itemToDeleteUid: String): Single<String>
Get a compressed representation of the deletion of an event.
Link copied to clipboard
open fun generateEnrollmentCode(enrollmentUid: String): Single<String>
Get a compressed representation of an enrollment.
Link copied to clipboard
open fun generateRelationshipCode(relationshipUid: String): Single<String>
Get a compressed representation of a relationship.
Link copied to clipboard
open fun generateSimpleEventCode(eventUid: String): Single<String>
Get a compressed representation of a simple event.
Link copied to clipboard
open fun generateTrackerEventCode(eventUid: String): Single<String>
Get a compressed representation of a tracker event.