Zync Property Manager
class ZyncPropertyManager
Public API manager for property operations in the Zync SDK.
This manager provides the public interface for property-related functionality, following the offline-first approach where local data is returned immediately and background sync operations keep the data updated.
Usage:
val result = zync.properties?.getPropertyDetail("property_uid_123")
when (result) {
is GetPropertyResult.Success -> {
val propertyDetail = result.data
println("Property: ${propertyDetail.propertyName}")
println("Address: ${propertyDetail.propertyAddress?.street}")
}
is GetPropertyResult.Failure -> {
println("Error: ${result.error.message}")
}
}Content copied to clipboard