apidocs / com.nimmsta.core.android.device / com.nimmsta.core.shared.device.NIMMSTADevice

Extensions for com.nimmsta.core.shared.device.NIMMSTADevice

setLayout

Extends NIMMSTADevice with an API, that makes it easy for Android-Users to push layouts out of the android-resources. This requires Android-Specific APIs, so that's why we can only implement it in the Android and not the shared project.

fun NIMMSTADevice.setLayout(resourceId: Int, infoMap: Map<String, String> = mapOf(), clearOldInfo: Boolean = true): Task<NimmstaLayout>

setLayoutFor

fun NIMMSTADevice.setLayoutFor(timeout: TimeSpan, resourceId: Int, infoMap: Map<String, String> = mapOf(), continuation: ((Boolean) -> Unit)? = null): Task<NimmstaLayout>