DeviceParametersBuilders

Added in 1.0.0
Deprecated in 1.2.0

class DeviceParametersBuilders


Builders for request messages used to fetch tiles and resources.

Summary

Nested types

Parameters describing the device requesting a tile update.

Builder for DeviceParameters

Constants

const Int

Device platform is undefined.

const Int

Device is a Wear OS device.

const Int

Rectangular screens.

const Int

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

const Int

Screen shape is undefined.

Constants

DEVICE_PLATFORM_UNDEFINED

Added in 1.0.0
Deprecated in 1.2.0
const val DEVICE_PLATFORM_UNDEFINED = 0: Int

Device platform is undefined.

DEVICE_PLATFORM_WEAR_OS

Added in 1.0.0
Deprecated in 1.2.0
const val DEVICE_PLATFORM_WEAR_OS = 1: Int

Device is a Wear OS device.

SCREEN_SHAPE_RECT

Added in 1.0.0
Deprecated in 1.2.0
const val SCREEN_SHAPE_RECT = 2: Int

Rectangular screens.

SCREEN_SHAPE_ROUND

Added in 1.0.0
Deprecated in 1.2.0
const val SCREEN_SHAPE_ROUND = 1: Int

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

SCREEN_SHAPE_UNDEFINED

Added in 1.0.0
Deprecated in 1.2.0
const val SCREEN_SHAPE_UNDEFINED = 0: Int

Screen shape is undefined.