Google is committed to advancing racial equity for Black communities. See how.

CanvasType

annotation class CanvasType
androidx.wear.watchface.CanvasType

Summary

Constants
const Int

A hardware canvas will be requested.

const Int

A software canvas will be requested.

Public constructors

Constants

HARDWARE

const val HARDWARE: Int

A hardware canvas will be requested. This is usually faster than software rendering, however it can sometimes increase battery usage by rendering at a higher frame rate.

Value: 1

SOFTWARE

const val SOFTWARE: Int

A software canvas will be requested.

Value: 0

Public constructors

<init>

CanvasType()