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


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

Summary

Nested classes

class CanvasWatchFaceService.Engine

The actual implementation of a watch face that draws on a Canvas

Inherited constants

From class android.support.wearable.watchface.WatchFaceService
From class android.service.wallpaper.WallpaperService
From class android.app.Service
From class android.content.Context
From interface android.content.ComponentCallbacks2

Public constructors

CanvasWatchFaceService()

Public methods

CanvasWatchFaceService.Engine onCreateEngine()

Inherited methods

From class android.support.wearable.watchface.WatchFaceService
From class android.service.wallpaper.WallpaperService
From class android.app.Service
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.content.ComponentCallbacks

Public constructors

CanvasWatchFaceService

CanvasWatchFaceService ()

Public methods

onCreateEngine

CanvasWatchFaceService.Engine onCreateEngine ()

Returns
CanvasWatchFaceService.Engine