Package io.didomi.sdk.events
Class SyncReadyEvent
-
- All Implemented Interfaces:
-
io.didomi.sdk.events.Event
public final class SyncReadyEvent implements Event
The Didomi SDK has finished syncing the user status with the remote server.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanstatusAppliedprivate final Function0<Boolean>syncAcknowledged
-
Constructor Summary
Constructors Constructor Description SyncReadyEvent(Boolean statusApplied, Function0<Boolean> syncAcknowledged)
-
Method Summary
Modifier and Type Method Description final BooleangetStatusApplied()Whether the user status was applied final Function0<Boolean>getSyncAcknowledged()Lambda expression that triggers a sync.acknowledged API event when called. -
-
Method Detail
-
getStatusApplied
final Boolean getStatusApplied()
Whether the user status was applied
-
getSyncAcknowledged
final Function0<Boolean> getSyncAcknowledged()
Lambda expression that triggers a sync.acknowledged API event when called. It returns true if the API event was sent successfully.
-
-
-
-