apidocs / com.nimmsta.core.android.device / NIMMSTADeviceExtension

NIMMSTADeviceExtension

object NIMMSTADeviceExtension

Java Interface for setting Layout based on resourceId.

Functions

setLayout

Sets a layout to be the new active layout on screen.

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

setLayoutFor

Sets a layout to be the new active layout on screen for a given period of time. Afterwards will return to previous layout.

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