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


Canvas上绘制的Canvas基础类。 提供类似于invalidate()的无效机制。

Summary

Nested classes

class CanvasWatchFaceService.Engine

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