DeviceParametersReaders

public class DeviceParametersReaders
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.readers.DeviceParametersReaders


Readers for androidx.wear.tiles' device parameters structures.

Summary

Nested classes

class DeviceParametersReaders.DeviceParameters

Reader for the Device Parameters returned from RequestReaders.TileRequest.getDeviceParameters()

Constants

int DEVICE_PLATFORM_UNDEFINED

Device platform is undefined.

int DEVICE_PLATFORM_WEAR_OS

Device is a Wear OS by Google device.

int SCREEN_SHAPE_RECT

Rectangular screens.

int SCREEN_SHAPE_ROUND

A round screen (typically found on most Wear devices).

int SCREEN_SHAPE_UNDEFINED

Screen shape is undefined.

Inherited methods

Constants

DEVICE_PLATFORM_UNDEFINED

public static final int DEVICE_PLATFORM_UNDEFINED

Device platform is undefined.

Constant Value: 0 (0x00000000)

DEVICE_PLATFORM_WEAR_OS

public static final int DEVICE_PLATFORM_WEAR_OS

Device is a Wear OS by Google device.

Constant Value: 1 (0x00000001)

SCREEN_SHAPE_RECT

public static final int SCREEN_SHAPE_RECT

Rectangular screens.

Constant Value: 2 (0x00000002)

SCREEN_SHAPE_ROUND

public static final int SCREEN_SHAPE_ROUND

A round screen (typically found on most Wear devices).

Constant Value: 1 (0x00000001)

SCREEN_SHAPE_UNDEFINED

public static final int SCREEN_SHAPE_UNDEFINED

Screen shape is undefined.

Constant Value: 0 (0x00000000)