C# 클래스 XFitWatchface.XFitWatchfaceService.XFitWatchfaceEngine

상속: Engine
파일 보기 프로젝트 열기: xamarin/mini-hacks

공개 메소드들

메소드 설명
OnAmbientModeChanged ( bool inAmbientMode ) : void
OnCreate ( ISurfaceHolder surfaceHolder ) : void
OnDataChanged ( DataEventBuffer dataEvents ) : void
OnDraw ( Canvas canvas, Rect bounds ) : void
OnTimeTick ( ) : void
OnVisibilityChanged ( bool visible ) : void
XFitWatchfaceEngine ( CanvasWatchFaceService owner ) : System

비공개 메소드들

메소드 설명
ConnectFitnessApi ( ) : void
ConnectGoogleApiClient ( ) : void
ConnectWatchfaceConfigUpdates ( ) : void
DrawFace ( Canvas canvas, Rect bounds ) : void
DrawHands ( Canvas canvas, Rect bounds ) : void
DrawStepCount ( Canvas canvas, Rect bounds ) : void
ExtractStepValue ( Bucket bucket ) : int
ExtractStepValue ( DataSet dataSet ) : int
GetTotalSteps ( ) : void
InitBackground ( ) : void
InitPaints ( ) : void
InitStepCountPaint ( ) : void
ShouldTimerBeRunning ( ) : bool
SubscribeToSteps ( ) : void
UpdateStepCount ( ) : void
UpdateTimer ( ) : void

메소드 상세

OnAmbientModeChanged() 공개 메소드

public OnAmbientModeChanged ( bool inAmbientMode ) : void
inAmbientMode bool
리턴 void

OnCreate() 공개 메소드

public OnCreate ( ISurfaceHolder surfaceHolder ) : void
surfaceHolder ISurfaceHolder
리턴 void

OnDataChanged() 공개 메소드

public OnDataChanged ( DataEventBuffer dataEvents ) : void
dataEvents DataEventBuffer
리턴 void

OnDraw() 공개 메소드

public OnDraw ( Canvas canvas, Rect bounds ) : void
canvas Canvas
bounds Rect
리턴 void

OnTimeTick() 공개 메소드

public OnTimeTick ( ) : void
리턴 void

OnVisibilityChanged() 공개 메소드

public OnVisibilityChanged ( bool visible ) : void
visible bool
리턴 void

XFitWatchfaceEngine() 공개 메소드

public XFitWatchfaceEngine ( CanvasWatchFaceService owner ) : System
owner CanvasWatchFaceService
리턴 System