ZyncOfflineState

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.

Constructors

Link copied to clipboard
constructor(isCompanyEnabled: Boolean, isUserEnabled: Boolean, isOfflineEnabled: Boolean)

Types

Link copied to clipboard
object Companion

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.