Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / BookingManager / getSchedules

getSchedules

abstract fun getSchedules(from: LocalDate, to: LocalDate, iotUnit: IotUnit? = null): LiveData<SimpleResponse<List<Schedule>>>

Get a LiveData with the schedule for the supplied iotUnit, or if null, for all IotUnit the user has access to on the requested periods.