All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.malinskiy.marathon.device.DeviceInfo.kt Maven / Gradle / Ivy

There is a newer version: 0.9.1
Show newest version
package com.malinskiy.marathon.device

data class DeviceInfo(
    val operatingSystem: OperatingSystem,
    val serialNumber: String,
    val model: String,
    val manufacturer: String,
    val networkState: NetworkState,
    val deviceFeatures: Collection,
    val healthy: Boolean
)

fun Device.toDeviceInfo() = DeviceInfo(
    operatingSystem = operatingSystem,
    serialNumber = serialNumber,
    model = model,
    manufacturer = manufacturer,
    networkState = networkState,
    deviceFeatures = deviceFeatures,
    healthy = healthy
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy