Source set: Common
public class ViewingDistance private constructor(private val value: Int)
Describes the typical distance between the user and the screen.
Members
Companion
Source set: Common
public companion object
Properties
Near
Source set: Common
public val Near: ViewingDistance
Represents a device used within close range, such as a handheld phone, tablet, laptop, or desktop monitor. This is the default for most personal devices.
Medium
Source set: Common
public val Medium: ViewingDistance
Represents a device positioned slightly further away, such as an automotive device, or a tablet in a dock mode.
Far
Source set: Common
public val Far: ViewingDistance
Represents a device viewed from a significant distance, such as a television.