vncore / com.venuenext.vncore.data / DeviceDao

DeviceDao

interface DeviceDao

DeviceDao VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Functions

count

abstract fun count(): Int

deleteDevice

abstract fun deleteDevice(device: Device): Unit
abstract fun deleteDevice(deviceUUID: String): Unit

deleteDevices

abstract fun deleteDevices(devices: List<Device>): Unit

getDevice

abstract fun getDevice(deviceUUID: String): LiveData<Device>

insertDevice

abstract fun insertDevice(device: Device): Unit

insertDevices

abstract fun insertDevices(device: List<Device>): Unit