UiMediaScope.ViewingDistance


Describes the typical distance between the user and the screen.

Summary

Public companion properties

UiMediaScope.ViewingDistance

Represents a device viewed from a significant distance, such as a television.

Cmn
UiMediaScope.ViewingDistance

Represents a device positioned slightly further away, such as an automotive device, or a tablet in a dock mode.

Cmn
UiMediaScope.ViewingDistance

Represents a device used within close range, such as a handheld phone, tablet, laptop, or desktop monitor.

Cmn

Public functions

open String
Cmn

Public companion properties

Far

val FarUiMediaScope.ViewingDistance

Represents a device viewed from a significant distance, such as a television.

Medium

val MediumUiMediaScope.ViewingDistance

Represents a device positioned slightly further away, such as an automotive device, or a tablet in a dock mode.

Near

val NearUiMediaScope.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.

Public functions

toString

open fun toString(): String