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 StringorganizationUserIdprivate final BooleanstatusAppliedprivate final Function0<Boolean>syncAcknowledged
-
Constructor Summary
Constructors Constructor Description SyncReadyEvent(String organizationUserId, Boolean statusApplied, Function0<Boolean> syncAcknowledged)
-
Method Summary
Modifier and Type Method Description final StringgetOrganizationUserId()Organization user ID that was synced final UnitsetOrganizationUserId(String organizationUserId)Organization user ID that was synced 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
-
getOrganizationUserId
final String getOrganizationUserId()
Organization user ID that was synced
-
setOrganizationUserId
final Unit setOrganizationUserId(String organizationUserId)
Organization user ID that was synced
-
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.
-
-
-
-