class DeviceRepository
DeviceRepository VenueNext
Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
DeviceRepository VenueNext DeviceRepository(context: Context) |
context |
var context: Context |
deviceDao |
val deviceDao: DeviceDao |
venueNextDB |
val venueNextDB: VenueNextDatabase |
count |
fun count(): Int |
deleteDevice |
fun deleteDevice(deviceUUID: String): Deferred<Unit> |
getDevice |
fun getDevice(deviceUUID: String): LiveData<Device> |
insertDevice |
fun insertDevice(device: Device): Deferred<Unit> |
insertDevices |
fun insertDevices(devices: List<Device>): Deferred<Unit> |