CanvasWatchFaceService

public abstract class CanvasWatchFaceService
extends WatchFaceService

java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Service
         ↳ android.service.wallpaper.WallpaperService
           ↳ android.support.wearable.watchface.WatchFaceService
             ↳ android.support.wearable.watchface.CanvasWatchFaceService


This class is deprecated.
Use Watch Face Format APIs instead.

Base class for watch faces that draw on a Canvas. Provides an invalidate mechanism similar to View.invalidate().

Summary

Nested classes

class CanvasWatchFaceService.Engine

This class is deprecated. Use androidx.wear.watchface.WatchFaceService, androidx.wear.watchface.Renderer.CanvasRenderer and androidx.wear.watchface.complications.rendering.CanvasComplicationDrawable from the Jetpack Wear Watch Face libraries instead.  

Inherited constants

Public constructors

CanvasWatchFaceService()

Public methods

CanvasWatchFaceService.Engine onCreateEngine()

Inherited methods

Public constructors

CanvasWatchFaceService

public CanvasWatchFaceService ()

Public methods

onCreateEngine

public CanvasWatchFaceService.Engine onCreateEngine ()

Returns
CanvasWatchFaceService.Engine