Zync Offline State
data class ZyncOfflineState(val isCompanyEnabled: Boolean, val isUserEnabled: Boolean, val isOfflineEnabled: Boolean)
Domain model representing the current offline enablement state.
This combines both company policy and user preferences to determine if offline mode is actually enabled and available for use.
Properties
Link copied to clipboard
Whether the company policy allows offline mode to be used. This is determined by the company administrator and affects all users.
Link copied to clipboard
Whether offline mode is actually enabled and available. This is computed as: isCompanyEnabled && isUserEnabled
Link copied to clipboard
Whether the current user has enabled offline mode in their preferences. This is a per-user setting that can be toggled independently.